Interface GetAssetContractRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetAssetContractRequest.Builder,GetAssetContractRequest>,ManagedBlockchainQueryRequest.Builder,SdkBuilder<GetAssetContractRequest.Builder,GetAssetContractRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetAssetContractRequest
public static interface GetAssetContractRequest.Builder extends ManagedBlockchainQueryRequest.Builder, SdkPojo, CopyableBuilder<GetAssetContractRequest.Builder,GetAssetContractRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAssetContractRequest.BuildercontractIdentifier(Consumer<ContractIdentifier.Builder> contractIdentifier)Contains the blockchain address and network information about the contract.GetAssetContractRequest.BuildercontractIdentifier(ContractIdentifier contractIdentifier)Contains the blockchain address and network information about the contract.GetAssetContractRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetAssetContractRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryRequest.Builder
build
-
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
GetAssetContractRequest.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 GetAssetContractRequest.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)
-
overrideConfiguration
GetAssetContractRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetAssetContractRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-