Cloneable
, ReadLimitInfo
, ToCopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>
@Generated("software.amazon.awssdk:codegen") public class UpdateServiceRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
UpdateServiceRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static UpdateServiceRequest.Builder |
builder() |
|
String |
cluster() |
The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on.
|
DeploymentConfiguration |
deploymentConfiguration() |
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping
and starting tasks.
|
Integer |
desiredCount() |
The number of instantiations of the task to place and keep running in your service.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends UpdateServiceRequest.Builder> |
serializableBuilderClass() |
|
String |
service() |
The name of the service to update.
|
String |
taskDefinition() |
The
family and revision (family:revision ) or full Amazon Resource Name
(ARN) of the task definition to run in your service. |
UpdateServiceRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String cluster()
The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. If you do not specify a cluster, the default cluster is assumed.
public String service()
The name of the service to update.
public Integer desiredCount()
The number of instantiations of the task to place and keep running in your service.
public String taskDefinition()
The family
and revision
(family:revision
) or full Amazon Resource Name
(ARN) of the task definition to run in your service. If a revision
is not specified, the latest
ACTIVE
revision is used. If you modify the task definition with UpdateService
, Amazon
ECS spawns a task with the new version of the task definition and then stops an old task after the new version is
running.
family
and revision
(family:revision
) or full Amazon Resource
Name (ARN) of the task definition to run in your service. If a revision
is not specified,
the latest ACTIVE
revision is used. If you modify the task definition with
UpdateService
, Amazon ECS spawns a task with the new version of the task definition and then
stops an old task after the new version is running.public DeploymentConfiguration deploymentConfiguration()
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
public UpdateServiceRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>
public static UpdateServiceRequest.Builder builder()
public static Class<? extends UpdateServiceRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.