Interface ContinueServiceDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ContinueServiceDeploymentRequest.Builder,,ContinueServiceDeploymentRequest> EcsRequest.Builder,SdkBuilder<ContinueServiceDeploymentRequest.Builder,,ContinueServiceDeploymentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ContinueServiceDeploymentRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe action to take on the paused lifecycle hook.action(DeploymentLifecycleHookAction action) The action to take on the paused lifecycle hook.The ID of the paused lifecycle hook to act on.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceDeploymentArn(String serviceDeploymentArn) The ARN of the service deployment to continue or roll back.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.ecs.model.EcsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceDeploymentArn
The ARN of the service deployment to continue or roll back.
- Parameters:
serviceDeploymentArn- The ARN of the service deployment to continue or roll back.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hookId
The ID of the paused lifecycle hook to act on. You can find the
hookIdby calling DescribeServiceDeployments and inspecting thelifecycleHookDetailsfield of the service deployment.- Parameters:
hookId- The ID of the paused lifecycle hook to act on. You can find thehookIdby calling DescribeServiceDeployments and inspecting thelifecycleHookDetailsfield of the service deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action to take on the paused lifecycle hook. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
If no value is specified, the default action is
CONTINUE.- Parameters:
action- The action to take on the paused lifecycle hook. Valid values are:-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
If no value is specified, the default action is
CONTINUE.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
action
The action to take on the paused lifecycle hook. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
If no value is specified, the default action is
CONTINUE.- Parameters:
action- The action to take on the paused lifecycle hook. Valid values are:-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
If no value is specified, the default action is
CONTINUE.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
ContinueServiceDeploymentRequest.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
ContinueServiceDeploymentRequest.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.
-