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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-