public class MetalakeCreateRequest extends java.lang.Object implements RESTRequest
Constructor and Description |
---|
MetalakeCreateRequest()
Default constructor for MetalakeCreateRequest.
|
MetalakeCreateRequest(java.lang.String name,
java.lang.String comment,
java.util.Map<java.lang.String,java.lang.String> properties)
Constructor for MetalakeCreateRequest.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the fields of the request.
|
public MetalakeCreateRequest()
public MetalakeCreateRequest(java.lang.String name, java.lang.String comment, java.util.Map<java.lang.String,java.lang.String> properties)
name
- The name of the Metalake.comment
- The comment for the Metalake.properties
- The properties for the Metalake.public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- if the name is not set.