Interface GetTokenBalanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetTokenBalanceRequest.Builder,
,GetTokenBalanceRequest> ManagedBlockchainQueryRequest.Builder
,SdkBuilder<GetTokenBalanceRequest.Builder,
,GetTokenBalanceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetTokenBalanceRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetTokenBalanceRequest.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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default GetTokenBalanceRequest.Builder
ownerIdentifier
(Consumer<OwnerIdentifier.Builder> ownerIdentifier) The container for the identifier for the owner.ownerIdentifier
(OwnerIdentifier ownerIdentifier) The container for the identifier for the owner.default GetTokenBalanceRequest.Builder
tokenIdentifier
(Consumer<TokenIdentifier.Builder> tokenIdentifier) The container for the identifier for the token, including the unique token ID and its blockchain network.tokenIdentifier
(TokenIdentifier tokenIdentifier) The container for the identifier for the token, including the unique token ID and its blockchain network.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryRequest.Builder
build
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
-
tokenIdentifier
The container for the identifier for the token, including the unique token ID and its blockchain network.
- Parameters:
tokenIdentifier
- The container for 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
default GetTokenBalanceRequest.Builder tokenIdentifier(Consumer<TokenIdentifier.Builder> tokenIdentifier) The container for 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:
-
ownerIdentifier
The container for the identifier for the owner.
- Parameters:
ownerIdentifier
- The container for the identifier for the owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerIdentifier
default GetTokenBalanceRequest.Builder ownerIdentifier(Consumer<OwnerIdentifier.Builder> ownerIdentifier) The container for the identifier for 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:
-
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 GetTokenBalanceRequest.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:
-
overrideConfiguration
GetTokenBalanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetTokenBalanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-