Interface GetAssetContractRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetAssetContractRequest.Builder,
,GetAssetContractRequest> ManagedBlockchainQueryRequest.Builder
,SdkBuilder<GetAssetContractRequest.Builder,
,GetAssetContractRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetAssetContractRequest
@Mutable
@NotThreadSafe
public static interface GetAssetContractRequest.Builder
extends ManagedBlockchainQueryRequest.Builder, SdkPojo, CopyableBuilder<GetAssetContractRequest.Builder,GetAssetContractRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAssetContractRequest.Builder
contractIdentifier
(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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFieldNameToField, sdkFields
-
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 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.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:
-
overrideConfiguration
GetAssetContractRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetAssetContractRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-