Class TokenPoolCacheKey.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class TokenPoolCacheKey.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for TokenPoolCacheKey instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
shortHolderId
public String
tokenType
public String
issuerHash
public String
notaryX500Name
public String
symbol
-
Method Summary
Modifier and Type Method Description String
getShortHolderId()
Gets the value of the 'shortHolderId' field. TokenPoolCacheKey.Builder
setShortHolderId(String value)
Sets the value of the 'shortHolderId' field. String
getTokenType()
Gets the value of the 'tokenType' field. TokenPoolCacheKey.Builder
setTokenType(String value)
Sets the value of the 'tokenType' field. String
getIssuerHash()
Gets the value of the 'issuerHash' field. TokenPoolCacheKey.Builder
setIssuerHash(String value)
Sets the value of the 'issuerHash' field. String
getNotaryX500Name()
Gets the value of the 'notaryX500Name' field. TokenPoolCacheKey.Builder
setNotaryX500Name(String value)
Sets the value of the 'notaryX500Name' field. String
getSymbol()
Gets the value of the 'symbol' field. TokenPoolCacheKey.Builder
setSymbol(String value)
Sets the value of the 'symbol' field. boolean
hasShortHolderId()
Checks whether the 'shortHolderId' field has been set. TokenPoolCacheKey.Builder
clearShortHolderId()
Clears the value of the 'shortHolderId' field. boolean
hasTokenType()
Checks whether the 'tokenType' field has been set. TokenPoolCacheKey.Builder
clearTokenType()
Clears the value of the 'tokenType' field. boolean
hasIssuerHash()
Checks whether the 'issuerHash' field has been set. TokenPoolCacheKey.Builder
clearIssuerHash()
Clears the value of the 'issuerHash' field. boolean
hasNotaryX500Name()
Checks whether the 'notaryX500Name' field has been set. TokenPoolCacheKey.Builder
clearNotaryX500Name()
Clears the value of the 'notaryX500Name' field. boolean
hasSymbol()
Checks whether the 'symbol' field has been set. TokenPoolCacheKey.Builder
clearSymbol()
Clears the value of the 'symbol' field. TokenPoolCacheKey
build()
-
-
Method Detail
-
getShortHolderId
String getShortHolderId()
Gets the value of the 'shortHolderId' field. Holding identity of the pool
- Returns:
The value.
-
setShortHolderId
TokenPoolCacheKey.Builder setShortHolderId(String value)
Sets the value of the 'shortHolderId' field. Holding identity of the pool
- Parameters:
value
- The value of 'shortHolderId'.- Returns:
This builder.
-
getTokenType
String getTokenType()
Gets the value of the 'tokenType' field. Type of tokens in the pool
- Returns:
The value.
-
setTokenType
TokenPoolCacheKey.Builder setTokenType(String value)
Sets the value of the 'tokenType' field. Type of tokens in the pool
- Parameters:
value
- The value of 'tokenType'.- Returns:
This builder.
-
getIssuerHash
String getIssuerHash()
Gets the value of the 'issuerHash' field. Issuer of the tokens within the pool
- Returns:
The value.
-
setIssuerHash
TokenPoolCacheKey.Builder setIssuerHash(String value)
Sets the value of the 'issuerHash' field. Issuer of the tokens within the pool
- Parameters:
value
- The value of 'issuerHash'.- Returns:
This builder.
-
getNotaryX500Name
String getNotaryX500Name()
Gets the value of the 'notaryX500Name' field. Notary for the tokens in the pool
- Returns:
The value.
-
setNotaryX500Name
TokenPoolCacheKey.Builder setNotaryX500Name(String value)
Sets the value of the 'notaryX500Name' field. Notary for the tokens in the pool
- Parameters:
value
- The value of 'notaryX500Name'.- Returns:
This builder.
-
getSymbol
String getSymbol()
Gets the value of the 'symbol' field. Symbol of the tokens in the pool
- Returns:
The value.
-
setSymbol
TokenPoolCacheKey.Builder setSymbol(String value)
Sets the value of the 'symbol' field. Symbol of the tokens in the pool
- Parameters:
value
- The value of 'symbol'.- Returns:
This builder.
-
hasShortHolderId
boolean hasShortHolderId()
Checks whether the 'shortHolderId' field has been set. Holding identity of the pool
- Returns:
True if the 'shortHolderId' field has been set, false otherwise.
-
clearShortHolderId
TokenPoolCacheKey.Builder clearShortHolderId()
Clears the value of the 'shortHolderId' field. Holding identity of the pool
- Returns:
This builder.
-
hasTokenType
boolean hasTokenType()
Checks whether the 'tokenType' field has been set. Type of tokens in the pool
- Returns:
True if the 'tokenType' field has been set, false otherwise.
-
clearTokenType
TokenPoolCacheKey.Builder clearTokenType()
Clears the value of the 'tokenType' field. Type of tokens in the pool
- Returns:
This builder.
-
hasIssuerHash
boolean hasIssuerHash()
Checks whether the 'issuerHash' field has been set. Issuer of the tokens within the pool
- Returns:
True if the 'issuerHash' field has been set, false otherwise.
-
clearIssuerHash
TokenPoolCacheKey.Builder clearIssuerHash()
Clears the value of the 'issuerHash' field. Issuer of the tokens within the pool
- Returns:
This builder.
-
hasNotaryX500Name
boolean hasNotaryX500Name()
Checks whether the 'notaryX500Name' field has been set. Notary for the tokens in the pool
- Returns:
True if the 'notaryX500Name' field has been set, false otherwise.
-
clearNotaryX500Name
TokenPoolCacheKey.Builder clearNotaryX500Name()
Clears the value of the 'notaryX500Name' field. Notary for the tokens in the pool
- Returns:
This builder.
-
hasSymbol
boolean hasSymbol()
Checks whether the 'symbol' field has been set. Symbol of the tokens in the pool
- Returns:
True if the 'symbol' field has been set, false otherwise.
-
clearSymbol
TokenPoolCacheKey.Builder clearSymbol()
Clears the value of the 'symbol' field. Symbol of the tokens in the pool
- Returns:
This builder.
-
build
TokenPoolCacheKey build()
-
-
-
-