Interface BatchGetTokenBalanceErrorItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchGetTokenBalanceErrorItem.Builder,
,BatchGetTokenBalanceErrorItem> SdkBuilder<BatchGetTokenBalanceErrorItem.Builder,
,BatchGetTokenBalanceErrorItem> SdkPojo
- Enclosing class:
BatchGetTokenBalanceErrorItem
@Mutable
@NotThreadSafe
public static interface BatchGetTokenBalanceErrorItem.Builder
extends SdkPojo, CopyableBuilder<BatchGetTokenBalanceErrorItem.Builder,BatchGetTokenBalanceErrorItem>
-
Method Summary
Modifier and TypeMethodDescriptionatBlockchainInstant
(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 error code associated with the error.errorMessage
(String errorMessage) The message associated with the error.The type of error.The type of error.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.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 BatchGetTokenBalanceErrorItem.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:
-
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 BatchGetTokenBalanceErrorItem.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:
-
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 BatchGetTokenBalanceErrorItem.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:
-
errorCode
The error code associated with the error.
- Parameters:
errorCode
- The error code associated with the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The message associated with the error.
- Parameters:
errorMessage
- The message associated with the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorType
The type of error.
- Parameters:
errorType
- The type of error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorType
The type of error.
- Parameters:
errorType
- The type of error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-