Interface StopServiceDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StopServiceDeploymentRequest.Builder,,StopServiceDeploymentRequest> EcsRequest.Builder,SdkBuilder<StopServiceDeploymentRequest.Builder,,StopServiceDeploymentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StopServiceDeploymentRequest
@Mutable
@NotThreadSafe
public static interface StopServiceDeploymentRequest.Builder
extends EcsRequest.Builder, SdkPojo, CopyableBuilder<StopServiceDeploymentRequest.Builder,StopServiceDeploymentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(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 that you want to stop.How you want Amazon ECS to stop the service.stopType(StopServiceDeploymentStopType stopType) How you want Amazon ECS to stop the service.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 that you want to stop.
- Parameters:
serviceDeploymentArn- The ARN of the service deployment that you want to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopType
How you want Amazon ECS to stop the service.
The valid values are
ROLLBACK.- Parameters:
stopType- How you want Amazon ECS to stop the service.The valid values are
ROLLBACK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stopType
How you want Amazon ECS to stop the service.
The valid values are
ROLLBACK.- Parameters:
stopType- How you want Amazon ECS to stop the service.The valid values are
ROLLBACK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StopServiceDeploymentRequest.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
StopServiceDeploymentRequest.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.
-