Interface TokenBalance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TokenBalance.Builder,
,TokenBalance> SdkBuilder<TokenBalance.Builder,
,TokenBalance> SdkPojo
- Enclosing class:
TokenBalance
-
Method Summary
Modifier and TypeMethodDescriptiondefault TokenBalance.Builder
atBlockchainInstant
(Consumer<BlockchainInstant.Builder> atBlockchainInstant) The time for when the TokenBalance is requested or the current time if a time is not provided in the request.atBlockchainInstant
(BlockchainInstant atBlockchainInstant) The time for when the TokenBalance is requested or the current time if a time is not provided in the request.The container of the token balance.default TokenBalance.Builder
lastUpdatedTime
(Consumer<BlockchainInstant.Builder> lastUpdatedTime) TheTimestamp
of the last transaction at which the balance for the token in the wallet was updated.lastUpdatedTime
(BlockchainInstant lastUpdatedTime) TheTimestamp
of the last transaction at which the balance for the token in the wallet was updated.default TokenBalance.Builder
ownerIdentifier
(Consumer<OwnerIdentifier.Builder> ownerIdentifier) The container for the identifier of the owner.ownerIdentifier
(OwnerIdentifier ownerIdentifier) The container for the identifier of the owner.default TokenBalance.Builder
tokenIdentifier
(Consumer<TokenIdentifier.Builder> tokenIdentifier) The identifier for the token, including the unique token ID and its blockchain network.tokenIdentifier
(TokenIdentifier tokenIdentifier) The identifier for the token, including the unique token ID and its blockchain network.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, sdkFieldNameToField, sdkFields
-
Method Details
-
ownerIdentifier
The container for the identifier of the owner.
- Parameters:
ownerIdentifier
- The container for the identifier of the owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerIdentifier
The container for the identifier of the owner.
This is a convenience method that creates an instance of theOwnerIdentifier.Builder
avoiding the need to create one manually viaOwnerIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toownerIdentifier(OwnerIdentifier)
.- Parameters:
ownerIdentifier
- a consumer that will call methods onOwnerIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenIdentifier
The identifier for the token, including the unique token ID and its blockchain network.
- Parameters:
tokenIdentifier
- The identifier for the token, including the unique token ID and its blockchain network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenIdentifier
The identifier for the token, including the unique token ID and its blockchain network.
This is a convenience method that creates an instance of theTokenIdentifier.Builder
avoiding the need to create one manually viaTokenIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totokenIdentifier(TokenIdentifier)
.- Parameters:
tokenIdentifier
- a consumer that will call methods onTokenIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
balance
The container of the token balance.
- Parameters:
balance
- The container of the token balance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atBlockchainInstant
The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
This time will only be recorded up to the second.
- Parameters:
atBlockchainInstant
- The time for when the TokenBalance is requested or the current time if a time is not provided in the request.This time will only be recorded up to the second.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atBlockchainInstant
default TokenBalance.Builder atBlockchainInstant(Consumer<BlockchainInstant.Builder> atBlockchainInstant) The time for when the TokenBalance is requested or the current time if a time is not provided in the request.
This time will only be recorded up to the second.
BlockchainInstant.Builder
avoiding the need to create one manually viaBlockchainInstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toatBlockchainInstant(BlockchainInstant)
.- Parameters:
atBlockchainInstant
- a consumer that will call methods onBlockchainInstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedTime
The
Timestamp
of the last transaction at which the balance for the token in the wallet was updated.- Parameters:
lastUpdatedTime
- TheTimestamp
of the last transaction at which the balance for the token in the wallet was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The
This is a convenience method that creates an instance of theTimestamp
of the last transaction at which the balance for the token in the wallet was updated.BlockchainInstant.Builder
avoiding the need to create one manually viaBlockchainInstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastUpdatedTime(BlockchainInstant)
.- Parameters:
lastUpdatedTime
- a consumer that will call methods onBlockchainInstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-