Interface AssetContract.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetContract.Builder,AssetContract>,SdkBuilder<AssetContract.Builder,AssetContract>,SdkPojo
- Enclosing class:
- AssetContract
public static interface AssetContract.Builder extends SdkPojo, CopyableBuilder<AssetContract.Builder,AssetContract>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssetContract.BuildercontractIdentifier(Consumer<ContractIdentifier.Builder> contractIdentifier)The container for the contract identifier containing its blockchain network and address.AssetContract.BuildercontractIdentifier(ContractIdentifier contractIdentifier)The container for the contract identifier containing its blockchain network and address.AssetContract.BuilderdeployerAddress(String deployerAddress)The address of the contract deployer.AssetContract.BuildertokenStandard(String tokenStandard)The token standard of the contract.AssetContract.BuildertokenStandard(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, sdkFields
-
-
-
-
Method Detail
-
contractIdentifier
AssetContract.Builder contractIdentifier(ContractIdentifier 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.Builderavoiding the need to create one manually viaContractIdentifier.builder().When the
Consumercompletes,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:
contractIdentifier(ContractIdentifier)
-
tokenStandard
AssetContract.Builder tokenStandard(String 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:
QueryTokenStandard,QueryTokenStandard
-
tokenStandard
AssetContract.Builder tokenStandard(QueryTokenStandard 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:
QueryTokenStandard,QueryTokenStandard
-
deployerAddress
AssetContract.Builder deployerAddress(String 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.
-
-