Interface GetAssetContractResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAssetContractResponse.Builder,,GetAssetContractResponse> ManagedBlockchainQueryResponse.Builder,SdkBuilder<GetAssetContractResponse.Builder,,GetAssetContractResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAssetContractResponse
public static interface GetAssetContractResponse.Builder
extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<GetAssetContractResponse.Builder,GetAssetContractResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAssetContractResponse.BuildercontractIdentifier(Consumer<ContractIdentifier.Builder> contractIdentifier) Contains the blockchain address and network information about the contract.contractIdentifier(ContractIdentifier contractIdentifier) Contains the blockchain address and network information about the contract.deployerAddress(String deployerAddress) The address of the deployer of contract.default GetAssetContractResponse.Buildermetadata(Consumer<ContractMetadata.Builder> metadata) Sets the value of the Metadata property for this object.metadata(ContractMetadata metadata) Sets the value of the Metadata property for this object.tokenStandard(String tokenStandard) The token standard of the contract requested.tokenStandard(QueryTokenStandard tokenStandard) The token standard of the contract requested.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
contractIdentifier
Contains the blockchain address and network information about the contract.
- Parameters:
contractIdentifier- Contains the blockchain address and network information about the contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractIdentifier
default GetAssetContractResponse.Builder contractIdentifier(Consumer<ContractIdentifier.Builder> contractIdentifier) Contains the blockchain address and network information about the contract.
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:
-
tokenStandard
The token standard of the contract requested.
- Parameters:
tokenStandard- The token standard of the contract requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenStandard
The token standard of the contract requested.
- Parameters:
tokenStandard- The token standard of the contract requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deployerAddress
The address of the deployer of contract.
- Parameters:
deployerAddress- The address of the deployer of contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Sets the value of the Metadata property for this object.- Parameters:
metadata- The new value for the Metadata property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Sets the value of the Metadata property for this object. This is a convenience method that creates an instance of theContractMetadata.Builderavoiding the need to create one manually viaContractMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(ContractMetadata).- Parameters:
metadata- a consumer that will call methods onContractMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-