Class RevokePreAuthToken.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class RevokePreAuthToken.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for RevokePreAuthToken instances.
-
-
Method Summary
Modifier and Type Method Description String
getTokenId()
Gets the value of the 'tokenId' field. RevokePreAuthToken.Builder
setTokenId(String value)
Sets the value of the 'tokenId' field. String
getRemark()
Gets the value of the 'remark' field. RevokePreAuthToken.Builder
setRemark(String value)
Sets the value of the 'remark' field. boolean
hasTokenId()
Checks whether the 'tokenId' field has been set. RevokePreAuthToken.Builder
clearTokenId()
Clears the value of the 'tokenId' field. boolean
hasRemark()
Checks whether the 'remark' field has been set. RevokePreAuthToken.Builder
clearRemark()
Clears the value of the 'remark' field. RevokePreAuthToken
build()
-
-
Method Detail
-
getTokenId
String getTokenId()
Gets the value of the 'tokenId' field. Token identifier of the pre auth token.
-
setTokenId
RevokePreAuthToken.Builder setTokenId(String value)
Sets the value of the 'tokenId' field. Token identifier of the pre auth token.
- Parameters:
value
- The value of 'tokenId'.
-
getRemark
String getRemark()
Gets the value of the 'remark' field. Optional remark about why the token was revoked.
-
setRemark
RevokePreAuthToken.Builder setRemark(String value)
Sets the value of the 'remark' field. Optional remark about why the token was revoked.
- Parameters:
value
- The value of 'remark'.
-
hasTokenId
boolean hasTokenId()
Checks whether the 'tokenId' field has been set. Token identifier of the pre auth token.
-
clearTokenId
RevokePreAuthToken.Builder clearTokenId()
Clears the value of the 'tokenId' field. Token identifier of the pre auth token.
-
hasRemark
boolean hasRemark()
Checks whether the 'remark' field has been set. Optional remark about why the token was revoked.
-
clearRemark
RevokePreAuthToken.Builder clearRemark()
Clears the value of the 'remark' field. Optional remark about why the token was revoked.
-
build
RevokePreAuthToken build()
-
-
-
-