Interface CreateDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDeploymentRequest.Builder,,CreateDeploymentRequest> M2Request.Builder,SdkBuilder<CreateDeploymentRequest.Builder,,CreateDeploymentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDeploymentRequest
public static interface CreateDeploymentRequest.Builder
extends M2Request.Builder, SdkPojo, CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The application identifier.applicationVersion(Integer applicationVersion) The version of the application to deploy.clientToken(String clientToken) Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment.environmentId(String environmentId) The identifier of the runtime environment where you want to deploy this application.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.m2.model.M2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationId
The application identifier.
- Parameters:
applicationId- The application identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationVersion
The version of the application to deploy.
- Parameters:
applicationVersion- The version of the application to deploy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
- Parameters:
clientToken- Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
The identifier of the runtime environment where you want to deploy this application.
- Parameters:
environmentId- The identifier of the runtime environment where you want to deploy this application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDeploymentRequest.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
CreateDeploymentRequest.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.
-