public static class MetalakeUpdateRequest.RenameMetalakeRequest extends java.lang.Object implements MetalakeUpdateRequest
MetalakeUpdateRequest.RemoveMetalakePropertyRequest, MetalakeUpdateRequest.RenameMetalakeRequest, MetalakeUpdateRequest.SetMetalakePropertyRequest, MetalakeUpdateRequest.UpdateMetalakeCommentRequest
Constructor and Description |
---|
RenameMetalakeRequest()
Default constructor for RenameMetalakeRequest.
|
RenameMetalakeRequest(java.lang.String newName)
Constructor for RenameMetalakeRequest.
|
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 RenameMetalakeRequest(java.lang.String newName)
newName
- The new name for the Metalake.public RenameMetalakeRequest()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
java.lang.IllegalArgumentException
- if the new name is not set.public MetalakeChange metalakeChange()
MetalakeUpdateRequest
metalakeChange
in interface MetalakeUpdateRequest