Interface GetTokenBalanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTokenBalanceResponse.Builder,
,GetTokenBalanceResponse> ManagedBlockchainQueryResponse.Builder
,SdkBuilder<GetTokenBalanceResponse.Builder,
,GetTokenBalanceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetTokenBalanceResponse
@Mutable
@NotThreadSafe
public static interface GetTokenBalanceResponse.Builder
extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<GetTokenBalanceResponse.Builder,GetTokenBalanceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetTokenBalanceResponse.Builder
atBlockchainInstant
(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.Builder
lastUpdatedTime
(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.Builder
ownerIdentifier
(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.Builder
tokenIdentifier
(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
copy
Methods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.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
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.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 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.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
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.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:
-