Interface CreateInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInstanceRequest.Builder,,CreateInstanceRequest> SdkBuilder<CreateInstanceRequest.Builder,,CreateInstanceRequest> SdkPojo,SdkRequest.Builder,SupplyChainRequest.Builder
- Enclosing class:
CreateInstanceRequest
public static interface CreateInstanceRequest.Builder
extends SupplyChainRequest.Builder, SdkPojo, CopyableBuilder<CreateInstanceRequest.Builder,CreateInstanceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The client token for idempotency.instanceDescription(String instanceDescription) The AWS Supply Chain instance description.instanceName(String instanceName) The AWS Supply Chain instance name.The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Web Services tags of an instance to be created.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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.services.supplychain.model.SupplyChainRequest.Builder
build
-
Method Details
-
instanceName
The AWS Supply Chain instance name.
- Parameters:
instanceName- The AWS Supply Chain instance name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceDescription
The AWS Supply Chain instance description.
- Parameters:
instanceDescription- The AWS Supply Chain instance description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon Web Services owned KMS key. If you don't provide anything here, AWS Supply Chain uses the Amazon Web Services owned KMS key.
- Parameters:
kmsKeyArn- The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon Web Services owned KMS key. If you don't provide anything here, AWS Supply Chain uses the Amazon Web Services owned KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The Amazon Web Services tags of an instance to be created.
- Parameters:
tags- The Amazon Web Services tags of an instance to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The client token for idempotency.
- Parameters:
clientToken- The client token for idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-