@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateServiceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateServiceRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateServiceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on.
|
DeploymentConfiguration |
getDeploymentConfiguration()
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping
and starting tasks.
|
Integer |
getDesiredCount()
The number of instantiations of the task to place and keep running in your service.
|
String |
getService()
The name of the service to update.
|
String |
getTaskDefinition()
The
family and revision (family:revision) or full Amazon Resource Name
(ARN) of the task definition to run in your service. |
int |
hashCode() |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on.
|
void |
setDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping
and starting tasks.
|
void |
setDesiredCount(Integer desiredCount)
The number of instantiations of the task to place and keep running in your service.
|
void |
setService(String service)
The name of the service to update.
|
void |
setTaskDefinition(String taskDefinition)
The
family and revision (family:revision) or full Amazon Resource Name
(ARN) of the task definition to run in your service. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateServiceRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on.
|
UpdateServiceRequest |
withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping
and starting tasks.
|
UpdateServiceRequest |
withDesiredCount(Integer desiredCount)
The number of instantiations of the task to place and keep running in your service.
|
UpdateServiceRequest |
withService(String service)
The name of the service to update.
|
UpdateServiceRequest |
withTaskDefinition(String taskDefinition)
The
family and revision (family:revision) or full Amazon Resource Name
(ARN) of the task definition to run in your service. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCluster(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.
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 getCluster()
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 UpdateServiceRequest withCluster(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.
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 void setService(String service)
The name of the service to update.
service - The name of the service to update.public String getService()
The name of the service to update.
public UpdateServiceRequest withService(String service)
The name of the service to update.
service - The name of the service to update.public void setDesiredCount(Integer desiredCount)
The number of instantiations of the task to place and keep running in your service.
desiredCount - The number of instantiations of the task to place and keep running in your service.public Integer getDesiredCount()
The number of instantiations of the task to place and keep running in your service.
public UpdateServiceRequest withDesiredCount(Integer desiredCount)
The number of instantiations of the task to place and keep running in your service.
desiredCount - The number of instantiations of the task to place and keep running in your service.public void setTaskDefinition(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.
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.public String getTaskDefinition()
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 UpdateServiceRequest withTaskDefinition(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.
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.public void setDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
deploymentConfiguration - Optional deployment parameters that control how many tasks run during the deployment and the ordering of
stopping and starting tasks.public DeploymentConfiguration getDeploymentConfiguration()
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
public UpdateServiceRequest withDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)
Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
deploymentConfiguration - Optional deployment parameters that control how many tasks run during the deployment and the ordering of
stopping and starting tasks.public String toString()
toString in class ObjectObject.toString()public UpdateServiceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.