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.BuilderatBlockchainInstant(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.BuilderownerIdentifier(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.BuildertokenIdentifier(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaTokenIdentifier.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaOwnerIdentifier.builder().When the
Consumercompletes,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 is a convenience method that creates an instance of theThis time will only be recorded up to the second.
BlockchainInstant.Builderavoiding the need to create one manually viaBlockchainInstant.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-