Interface AssetContract.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssetContract.Builder,
,AssetContract> SdkBuilder<AssetContract.Builder,
,AssetContract> SdkPojo
- Enclosing class:
AssetContract
@Mutable
@NotThreadSafe
public static interface AssetContract.Builder
extends SdkPojo, CopyableBuilder<AssetContract.Builder,AssetContract>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssetContract.Builder
contractIdentifier
(Consumer<ContractIdentifier.Builder> contractIdentifier) The container for the contract identifier containing its blockchain network and address.contractIdentifier
(ContractIdentifier contractIdentifier) The container for the contract identifier containing its blockchain network and address.deployerAddress
(String deployerAddress) The address of the contract deployer.tokenStandard
(String tokenStandard) The token standard of the contract.tokenStandard
(QueryTokenStandard tokenStandard) The token standard of the contract.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
-
contractIdentifier
The container for the contract identifier containing its blockchain network and address.
- Parameters:
contractIdentifier
- The container for the contract identifier containing its blockchain network and address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractIdentifier
default AssetContract.Builder contractIdentifier(Consumer<ContractIdentifier.Builder> contractIdentifier) The container for the contract identifier containing its blockchain network and address.
This is a convenience method that creates an instance of theContractIdentifier.Builder
avoiding the need to create one manually viaContractIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontractIdentifier(ContractIdentifier)
.- Parameters:
contractIdentifier
- a consumer that will call methods onContractIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenStandard
The token standard of the contract.
- Parameters:
tokenStandard
- The token standard of the contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenStandard
The token standard of the contract.
- Parameters:
tokenStandard
- The token standard of the contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deployerAddress
The address of the contract deployer.
- Parameters:
deployerAddress
- The address of the contract deployer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-