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