Class TagUpdateRequest.RenameTagRequest
java.lang.Object
org.apache.gravitino.dto.requests.TagUpdateRequest.RenameTagRequest
- All Implemented Interfaces:
TagUpdateRequest,RESTMessage,RESTRequest
- Enclosing interface:
- TagUpdateRequest
The tag update request for renaming a tag.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.dto.requests.TagUpdateRequest
TagUpdateRequest.RemoveTagPropertyRequest, TagUpdateRequest.RenameTagRequest, TagUpdateRequest.SetTagPropertyRequest, TagUpdateRequest.UpdateTagCommentRequest -
Constructor Summary
ConstructorsConstructorDescriptionThis is the constructor that is used by Jackson deserializerRenameTagRequest(String newName) Creates a new RenameTagRequest. -
Method Summary
-
Constructor Details
-
RenameTagRequest
Creates a new RenameTagRequest.- Parameters:
newName- The new name of the tag.
-
RenameTagRequest
public RenameTagRequest()This is the constructor that is used by Jackson deserializer
-
-
Method Details
-
tagChange
Description copied from interface:TagUpdateRequestReturns the tag change.- Specified by:
tagChangein interfaceTagUpdateRequest- Returns:
- the tag change.
-
validate
Description copied from interface:RESTMessageEnsures that a constructed instance of a REST message is valid according to the REST spec.This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Specified by:
validatein interfaceRESTMessage- Throws:
IllegalArgumentException
-