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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAssetContractResponse.BuildercontractIdentifier(Consumer<ContractIdentifier.Builder> contractIdentifier)Contains the blockchain address and network information about the contract.GetAssetContractResponse.BuildercontractIdentifier(ContractIdentifier contractIdentifier)Contains the blockchain address and network information about the contract.GetAssetContractResponse.BuilderdeployerAddress(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.GetAssetContractResponse.Buildermetadata(ContractMetadata metadata)Sets the value of the Metadata property for this object.GetAssetContractResponse.BuildertokenStandard(String tokenStandard)The token standard of the contract requested.GetAssetContractResponse.BuildertokenStandard(QueryTokenStandard tokenStandard)The token standard of the contract requested.-
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
-
contractIdentifier
GetAssetContractResponse.Builder contractIdentifier(ContractIdentifier 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:
contractIdentifier(ContractIdentifier)
-
tokenStandard
GetAssetContractResponse.Builder tokenStandard(String 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:
QueryTokenStandard,QueryTokenStandard
-
tokenStandard
GetAssetContractResponse.Builder tokenStandard(QueryTokenStandard 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:
QueryTokenStandard,QueryTokenStandard
-
deployerAddress
GetAssetContractResponse.Builder deployerAddress(String 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
GetAssetContractResponse.Builder metadata(ContractMetadata 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
default GetAssetContractResponse.Builder metadata(Consumer<ContractMetadata.Builder> 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:
metadata(ContractMetadata)
-
-