Class MetalakeCreateRequest
java.lang.Object
org.apache.gravitino.dto.requests.MetalakeCreateRequest
- All Implemented Interfaces:
RESTMessage
,RESTRequest
Represents a request to create a Metalake.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for MetalakeCreateRequest.Constructor for MetalakeCreateRequest. -
Method Summary
-
Constructor Details
-
MetalakeCreateRequest
public MetalakeCreateRequest()Default constructor for MetalakeCreateRequest. (Used for Jackson deserialization.) -
MetalakeCreateRequest
Constructor for MetalakeCreateRequest.- Parameters:
name
- The name of the Metalake.comment
- The comment for the Metalake.properties
- The properties for the Metalake.
-
-
Method Details
-
validate
Validates the fields of the request.- Specified by:
validate
in interfaceRESTMessage
- Throws:
IllegalArgumentException
- if the name is not set.
-