Class TokenClaim.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class TokenClaim.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for TokenClaim instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
claimId
public Long
claimTimestamp
public List<String>
claimedTokenStateRefs
public List<Token>
claimedTokens
-
Method Summary
Modifier and Type Method Description String
getClaimId()
Gets the value of the 'claimId' field. TokenClaim.Builder
setClaimId(String value)
Sets the value of the 'claimId' field. Long
getClaimTimestamp()
Gets the value of the 'claimTimestamp' field. TokenClaim.Builder
setClaimTimestamp(Long value)
Sets the value of the 'claimTimestamp' field. List<String>
getClaimedTokenStateRefs()
Gets the value of the 'claimedTokenStateRefs' field. TokenClaim.Builder
setClaimedTokenStateRefs(List<String> value)
Sets the value of the 'claimedTokenStateRefs' field. List<Token>
getClaimedTokens()
Gets the value of the 'claimedTokens' field. TokenClaim.Builder
setClaimedTokens(List<Token> value)
Sets the value of the 'claimedTokens' field. boolean
hasClaimId()
Checks whether the 'claimId' field has been set. TokenClaim.Builder
clearClaimId()
Clears the value of the 'claimId' field. boolean
hasClaimTimestamp()
Checks whether the 'claimTimestamp' field has been set. TokenClaim.Builder
clearClaimTimestamp()
Clears the value of the 'claimTimestamp' field. boolean
hasClaimedTokenStateRefs()
Checks whether the 'claimedTokenStateRefs' field has been set. TokenClaim.Builder
clearClaimedTokenStateRefs()
Clears the value of the 'claimedTokenStateRefs' field. boolean
hasClaimedTokens()
Checks whether the 'claimedTokens' field has been set. TokenClaim.Builder
clearClaimedTokens()
Clears the value of the 'claimedTokens' field. TokenClaim
build()
-
-
Method Detail
-
getClaimId
String getClaimId()
Gets the value of the 'claimId' field. Unique identifier for the claim
-
setClaimId
TokenClaim.Builder setClaimId(String value)
Sets the value of the 'claimId' field. Unique identifier for the claim
- Parameters:
value
- The value of 'claimId'.
-
getClaimTimestamp
Long getClaimTimestamp()
Gets the value of the 'claimTimestamp' field. Timestamp of when the claim was made in epoc milliseconds
-
setClaimTimestamp
TokenClaim.Builder setClaimTimestamp(Long value)
Sets the value of the 'claimTimestamp' field. Timestamp of when the claim was made in epoc milliseconds
- Parameters:
value
- The value of 'claimTimestamp'.
-
getClaimedTokenStateRefs
List<String> getClaimedTokenStateRefs()
Gets the value of the 'claimedTokenStateRefs' field. Deprecated. The List of state refs for the claimed tokens
-
setClaimedTokenStateRefs
TokenClaim.Builder setClaimedTokenStateRefs(List<String> value)
Sets the value of the 'claimedTokenStateRefs' field. Deprecated. The List of state refs for the claimed tokens
- Parameters:
value
- The value of 'claimedTokenStateRefs'.
-
getClaimedTokens
List<Token> getClaimedTokens()
Gets the value of the 'claimedTokens' field. List of claimed tokens
-
setClaimedTokens
TokenClaim.Builder setClaimedTokens(List<Token> value)
Sets the value of the 'claimedTokens' field. List of claimed tokens
- Parameters:
value
- The value of 'claimedTokens'.
-
hasClaimId
boolean hasClaimId()
Checks whether the 'claimId' field has been set. Unique identifier for the claim
-
clearClaimId
TokenClaim.Builder clearClaimId()
Clears the value of the 'claimId' field. Unique identifier for the claim
-
hasClaimTimestamp
boolean hasClaimTimestamp()
Checks whether the 'claimTimestamp' field has been set. Timestamp of when the claim was made in epoc milliseconds
-
clearClaimTimestamp
TokenClaim.Builder clearClaimTimestamp()
Clears the value of the 'claimTimestamp' field. Timestamp of when the claim was made in epoc milliseconds
-
hasClaimedTokenStateRefs
boolean hasClaimedTokenStateRefs()
Checks whether the 'claimedTokenStateRefs' field has been set. Deprecated. The List of state refs for the claimed tokens
-
clearClaimedTokenStateRefs
TokenClaim.Builder clearClaimedTokenStateRefs()
Clears the value of the 'claimedTokenStateRefs' field. Deprecated. The List of state refs for the claimed tokens
-
hasClaimedTokens
boolean hasClaimedTokens()
Checks whether the 'claimedTokens' field has been set. List of claimed tokens
-
clearClaimedTokens
TokenClaim.Builder clearClaimedTokens()
Clears the value of the 'claimedTokens' field. List of claimed tokens
-
build
TokenClaim build()
-
-
-
-