public static interface StopDeploymentRequest.Builder extends CodeDeployRequest.Builder, CopyableBuilder<StopDeploymentRequest.Builder,StopDeploymentRequest>
| Modifier and Type | Method and Description |
|---|---|
StopDeploymentRequest.Builder |
autoRollbackEnabled(Boolean autoRollbackEnabled)
Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to
the previous version of the application revision.
|
StopDeploymentRequest.Builder |
deploymentId(String deploymentId)
The unique ID of a deployment.
|
StopDeploymentRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
StopDeploymentRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildStopDeploymentRequest.Builder deploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId - The unique ID of a deployment.StopDeploymentRequest.Builder autoRollbackEnabled(Boolean autoRollbackEnabled)
Indicates, when a deployment is stopped, whether instances that have been updated should be rolled back to the previous version of the application revision.
autoRollbackEnabled - Indicates, when a deployment is stopped, whether instances that have been updated should be rolled
back to the previous version of the application revision.StopDeploymentRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.StopDeploymentRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.