Class TagUpdateRequest.SetTagPropertyRequest
java.lang.Object
org.apache.gravitino.dto.requests.TagUpdateRequest.SetTagPropertyRequest
- All Implemented Interfaces:
TagUpdateRequest,RESTMessage,RESTRequest
- Enclosing interface:
- TagUpdateRequest
public static class TagUpdateRequest.SetTagPropertyRequest
extends Object
implements TagUpdateRequest
The tag update request for setting a tag property.
-
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 deserializerSetTagPropertyRequest(String property, String value) Creates a new SetTagPropertyRequest. -
Method Summary
-
Constructor Details
-
SetTagPropertyRequest
Creates a new SetTagPropertyRequest.- Parameters:
property- The property to set.value- The value of the property.
-
SetTagPropertyRequest
public SetTagPropertyRequest()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
-