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.
|
build
requestOverrideConfig
copy
apply, build
StopDeploymentRequest.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.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.StopDeploymentRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.