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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetTokenBalanceResponse.BuilderatBlockchainInstant(Consumer<BlockchainInstant.Builder> atBlockchainInstant)Sets the value of the AtBlockchainInstant property for this object.GetTokenBalanceResponse.BuilderatBlockchainInstant(BlockchainInstant atBlockchainInstant)Sets the value of the AtBlockchainInstant property for this object.GetTokenBalanceResponse.Builderbalance(String balance)The container for the token balance.default GetTokenBalanceResponse.BuilderlastUpdatedTime(Consumer<BlockchainInstant.Builder> lastUpdatedTime)Sets the value of the LastUpdatedTime property for this object.GetTokenBalanceResponse.BuilderlastUpdatedTime(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.GetTokenBalanceResponse.BuilderownerIdentifier(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.GetTokenBalanceResponse.BuildertokenIdentifier(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ownerIdentifier
GetTokenBalanceResponse.Builder ownerIdentifier(OwnerIdentifier 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:
ownerIdentifier(OwnerIdentifier)
-
tokenIdentifier
GetTokenBalanceResponse.Builder tokenIdentifier(TokenIdentifier 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:
tokenIdentifier(TokenIdentifier)
-
balance
GetTokenBalanceResponse.Builder balance(String 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
GetTokenBalanceResponse.Builder atBlockchainInstant(BlockchainInstant 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:
atBlockchainInstant(BlockchainInstant)
-
lastUpdatedTime
GetTokenBalanceResponse.Builder lastUpdatedTime(BlockchainInstant 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:
lastUpdatedTime(BlockchainInstant)
-
-