Interface TokenIdentifier.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TokenIdentifier.Builder,TokenIdentifier>,SdkBuilder<TokenIdentifier.Builder,TokenIdentifier>,SdkPojo
- Enclosing class:
- TokenIdentifier
public static interface TokenIdentifier.Builder extends SdkPojo, CopyableBuilder<TokenIdentifier.Builder,TokenIdentifier>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TokenIdentifier.BuildercontractAddress(String contractAddress)This is the token's contract address.TokenIdentifier.Buildernetwork(String network)The blockchain network of the token.TokenIdentifier.Buildernetwork(QueryNetwork network)The blockchain network of the token.TokenIdentifier.BuildertokenId(String tokenId)The unique identifier of the token.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
network
TokenIdentifier.Builder network(String network)
The blockchain network of the token.
- Parameters:
network- The blockchain network of the token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryNetwork,QueryNetwork
-
network
TokenIdentifier.Builder network(QueryNetwork network)
The blockchain network of the token.
- Parameters:
network- The blockchain network of the token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryNetwork,QueryNetwork
-
contractAddress
TokenIdentifier.Builder contractAddress(String contractAddress)
This is the token's contract address.
- Parameters:
contractAddress- This is the token's contract address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenId
TokenIdentifier.Builder tokenId(String tokenId)
The unique identifier of the token.
For native tokens, use the 3 character abbreviation that best matches your token. For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must specify the
tokenIdin the 64 character hexadecimaltokenidformat.- Parameters:
tokenId- The unique identifier of the token.For native tokens, use the 3 character abbreviation that best matches your token. For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must specify the
tokenIdin the 64 character hexadecimaltokenidformat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-