Class MetalakeUpdateRequest.UpdateMetalakeCommentRequest
java.lang.Object
org.apache.gravitino.dto.requests.MetalakeUpdateRequest.UpdateMetalakeCommentRequest
- All Implemented Interfaces:
MetalakeUpdateRequest
,RESTMessage
,RESTRequest
- Enclosing interface:
- MetalakeUpdateRequest
public static class MetalakeUpdateRequest.UpdateMetalakeCommentRequest
extends Object
implements MetalakeUpdateRequest
Represents a request to update the comment on a Metalake.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.dto.requests.MetalakeUpdateRequest
MetalakeUpdateRequest.RemoveMetalakePropertyRequest, MetalakeUpdateRequest.RenameMetalakeRequest, MetalakeUpdateRequest.SetMetalakePropertyRequest, MetalakeUpdateRequest.UpdateMetalakeCommentRequest
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for UpdateMetalakeCommentRequest.UpdateMetalakeCommentRequest
(String newComment) Constructor for UpdateMetalakeCommentRequest. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Metalake change associated with this request.void
validate()
Validates the fields of the request.
-
Constructor Details
-
UpdateMetalakeCommentRequest
Constructor for UpdateMetalakeCommentRequest.- Parameters:
newComment
- The new comment for the Metalake.
-
UpdateMetalakeCommentRequest
public UpdateMetalakeCommentRequest()Default constructor for UpdateMetalakeCommentRequest.
-
-
Method Details
-
validate
Validates the fields of the request. Always pass.- Specified by:
validate
in interfaceRESTMessage
- Throws:
IllegalArgumentException
-
metalakeChange
Description copied from interface:MetalakeUpdateRequest
Returns the Metalake change associated with this request.- Specified by:
metalakeChange
in interfaceMetalakeUpdateRequest
- Returns:
- The Metalake change.
-