Interface GetTokenBalanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTokenBalanceResponse.Builder,,GetTokenBalanceResponse> ManagedBlockchainQueryResponse.Builder,SdkBuilder<GetTokenBalanceResponse.Builder,,GetTokenBalanceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTokenBalanceResponse
public static interface GetTokenBalanceResponse.Builder
extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<GetTokenBalanceResponse.Builder,GetTokenBalanceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetTokenBalanceResponse.BuilderatBlockchainInstant(Consumer<BlockchainInstant.Builder> atBlockchainInstant) Sets the value of the AtBlockchainInstant property for this object.atBlockchainInstant(BlockchainInstant atBlockchainInstant) Sets the value of the AtBlockchainInstant property for this object.The container for the token balance.default GetTokenBalanceResponse.BuilderlastUpdatedTime(Consumer<BlockchainInstant.Builder> lastUpdatedTime) Sets the value of the LastUpdatedTime property for this object.lastUpdatedTime(BlockchainInstant lastUpdatedTime) Sets the value of the LastUpdatedTime property for this object.default GetTokenBalanceResponse.BuilderownerIdentifier(Consumer<OwnerIdentifier.Builder> ownerIdentifier) Sets the value of the OwnerIdentifier property for this object.ownerIdentifier(OwnerIdentifier ownerIdentifier) Sets the value of the OwnerIdentifier property for this object.default GetTokenBalanceResponse.BuildertokenIdentifier(Consumer<TokenIdentifier.Builder> tokenIdentifier) Sets the value of the TokenIdentifier property for this object.tokenIdentifier(TokenIdentifier tokenIdentifier) Sets the value of the TokenIdentifier property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ownerIdentifier
Sets the value of the OwnerIdentifier property for this object.- Parameters:
ownerIdentifier- The new value for the OwnerIdentifier property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerIdentifier
default GetTokenBalanceResponse.Builder ownerIdentifier(Consumer<OwnerIdentifier.Builder> ownerIdentifier) Sets the value of the OwnerIdentifier property for this object. 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:
-
tokenIdentifier
Sets the value of the TokenIdentifier property for this object.- Parameters:
tokenIdentifier- The new value for the TokenIdentifier property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenIdentifier
default GetTokenBalanceResponse.Builder tokenIdentifier(Consumer<TokenIdentifier.Builder> tokenIdentifier) Sets the value of the TokenIdentifier property for this object. 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:
-
balance
The container for the token balance.
- Parameters:
balance- The container for the token balance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atBlockchainInstant
Sets the value of the AtBlockchainInstant property for this object.- Parameters:
atBlockchainInstant- The new value for the AtBlockchainInstant property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atBlockchainInstant
default GetTokenBalanceResponse.Builder atBlockchainInstant(Consumer<BlockchainInstant.Builder> atBlockchainInstant) Sets the value of the AtBlockchainInstant property for this object. This is a convenience method that creates an instance of theBlockchainInstant.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:
-
lastUpdatedTime
Sets the value of the LastUpdatedTime property for this object.- Parameters:
lastUpdatedTime- The new value for the LastUpdatedTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
default GetTokenBalanceResponse.Builder lastUpdatedTime(Consumer<BlockchainInstant.Builder> lastUpdatedTime) Sets the value of the LastUpdatedTime property for this object. This is a convenience method that creates an instance of theBlockchainInstant.Builderavoiding the need to create one manually viaBlockchainInstant.builder().When the
Consumercompletes,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:
-