Class TokenClaimQueryResult.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class TokenClaimQueryResult.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for TokenClaimQueryResult instances.
-
-
Field Summary
Fields Modifier and Type Field Description public TokenPoolCacheKey
poolKey
public TokenPoolCacheKey.Builder
poolKeyBuilder
public String
claimId
public TokenClaimResultStatus
resultType
public List<Token>
claimedTokens
-
Method Summary
Modifier and Type Method Description TokenPoolCacheKey
getPoolKey()
Gets the value of the 'poolKey' field. TokenClaimQueryResult.Builder
setPoolKey(TokenPoolCacheKey value)
Sets the value of the 'poolKey' field. TokenPoolCacheKey.Builder
getPoolKeyBuilder()
Gets the Builder instance for the 'poolKey' field and creates one if it doesn't exist yet. TokenClaimQueryResult.Builder
setPoolKeyBuilder(TokenPoolCacheKey.Builder value)
Sets the Builder instance for the 'poolKey' field Key for the pool the tokens were claimed from String
getClaimId()
Gets the value of the 'claimId' field. TokenClaimQueryResult.Builder
setClaimId(String value)
Sets the value of the 'claimId' field. TokenClaimResultStatus
getResultType()
Gets the value of the 'resultType' field. TokenClaimQueryResult.Builder
setResultType(TokenClaimResultStatus value)
Sets the value of the 'resultType' field. List<Token>
getClaimedTokens()
Gets the value of the 'claimedTokens' field. TokenClaimQueryResult.Builder
setClaimedTokens(List<Token> value)
Sets the value of the 'claimedTokens' field. boolean
hasPoolKey()
Checks whether the 'poolKey' field has been set. boolean
hasPoolKeyBuilder()
Checks whether the 'poolKey' field has an active Builder instance Key for the pool the tokens were claimed from TokenClaimQueryResult.Builder
clearPoolKey()
Clears the value of the 'poolKey' field. boolean
hasClaimId()
Checks whether the 'claimId' field has been set. TokenClaimQueryResult.Builder
clearClaimId()
Clears the value of the 'claimId' field. boolean
hasResultType()
Checks whether the 'resultType' field has been set. TokenClaimQueryResult.Builder
clearResultType()
Clears the value of the 'resultType' field. boolean
hasClaimedTokens()
Checks whether the 'claimedTokens' field has been set. TokenClaimQueryResult.Builder
clearClaimedTokens()
Clears the value of the 'claimedTokens' field. TokenClaimQueryResult
build()
-
-
Method Detail
-
getPoolKey
TokenPoolCacheKey getPoolKey()
Gets the value of the 'poolKey' field. Key for the pool the tokens were claimed from
-
setPoolKey
TokenClaimQueryResult.Builder setPoolKey(TokenPoolCacheKey value)
Sets the value of the 'poolKey' field. Key for the pool the tokens were claimed from
- Parameters:
value
- The value of 'poolKey'.
-
getPoolKeyBuilder
TokenPoolCacheKey.Builder getPoolKeyBuilder()
Gets the Builder instance for the 'poolKey' field and creates one if it doesn't exist yet. Key for the pool the tokens were claimed from
-
setPoolKeyBuilder
TokenClaimQueryResult.Builder setPoolKeyBuilder(TokenPoolCacheKey.Builder value)
Sets the Builder instance for the 'poolKey' field Key for the pool the tokens were claimed from
- Parameters:
value
- The builder instance that must be set.
-
getClaimId
String getClaimId()
Gets the value of the 'claimId' field. Unique identifier for the claim
-
setClaimId
TokenClaimQueryResult.Builder setClaimId(String value)
Sets the value of the 'claimId' field. Unique identifier for the claim
- Parameters:
value
- The value of 'claimId'.
-
getResultType
TokenClaimResultStatus getResultType()
Gets the value of the 'resultType' field. The type of result for the claim query
-
setResultType
TokenClaimQueryResult.Builder setResultType(TokenClaimResultStatus value)
Sets the value of the 'resultType' field. The type of result for the claim query
- Parameters:
value
- The value of 'resultType'.
-
getClaimedTokens
List<Token> getClaimedTokens()
Gets the value of the 'claimedTokens' field.
-
setClaimedTokens
TokenClaimQueryResult.Builder setClaimedTokens(List<Token> value)
Sets the value of the 'claimedTokens' field.
- Parameters:
value
- The value of 'claimedTokens'.
-
hasPoolKey
boolean hasPoolKey()
Checks whether the 'poolKey' field has been set. Key for the pool the tokens were claimed from
-
hasPoolKeyBuilder
boolean hasPoolKeyBuilder()
Checks whether the 'poolKey' field has an active Builder instance Key for the pool the tokens were claimed from
-
clearPoolKey
TokenClaimQueryResult.Builder clearPoolKey()
Clears the value of the 'poolKey' field. Key for the pool the tokens were claimed from
-
hasClaimId
boolean hasClaimId()
Checks whether the 'claimId' field has been set. Unique identifier for the claim
-
clearClaimId
TokenClaimQueryResult.Builder clearClaimId()
Clears the value of the 'claimId' field. Unique identifier for the claim
-
hasResultType
boolean hasResultType()
Checks whether the 'resultType' field has been set. The type of result for the claim query
-
clearResultType
TokenClaimQueryResult.Builder clearResultType()
Clears the value of the 'resultType' field. The type of result for the claim query
-
hasClaimedTokens
boolean hasClaimedTokens()
Checks whether the 'claimedTokens' field has been set.
-
clearClaimedTokens
TokenClaimQueryResult.Builder clearClaimedTokens()
Clears the value of the 'claimedTokens' field.
-
build
TokenClaimQueryResult build()
-
-
-
-