public static class MetalakeUpdateRequest.SetMetalakePropertyRequest extends java.lang.Object implements MetalakeUpdateRequest
MetalakeUpdateRequest.RemoveMetalakePropertyRequest, MetalakeUpdateRequest.RenameMetalakeRequest, MetalakeUpdateRequest.SetMetalakePropertyRequest, MetalakeUpdateRequest.UpdateMetalakeCommentRequest
Constructor and Description |
---|
SetMetalakePropertyRequest()
Default constructor for SetMetalakePropertyRequest.
|
SetMetalakePropertyRequest(java.lang.String property,
java.lang.String value)
Constructor for SetMetalakePropertyRequest.
|
Modifier and Type | Method and Description |
---|---|
MetalakeChange |
metalakeChange()
Returns the Metalake change associated with this request.
|
void |
validate()
Validates the fields of the request.
|
public SetMetalakePropertyRequest(java.lang.String property, java.lang.String value)
property
- The property to set.value
- The value of the property.public SetMetalakePropertyRequest()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- if property or value are not set.public MetalakeChange metalakeChange()
MetalakeUpdateRequest
metalakeChange
in interface MetalakeUpdateRequest