@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTaskSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateTaskSetRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTaskSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists
in.
|
Scale |
getScale()
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
|
String |
getService()
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
|
String |
getTaskSet()
The short name or full Amazon Resource Name (ARN) of the task set to update.
|
int |
hashCode() |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists
in.
|
void |
setScale(Scale scale)
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
|
void |
setService(String service)
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
|
void |
setTaskSet(String taskSet)
The short name or full Amazon Resource Name (ARN) of the task set to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTaskSetRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists
in.
|
UpdateTaskSetRequest |
withScale(Scale scale)
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
|
UpdateTaskSetRequest |
withService(String service)
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
|
UpdateTaskSetRequest |
withTaskSet(String taskSet)
The short name or full Amazon Resource Name (ARN) of the task set to update.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set
exists in.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
public UpdateTaskSetRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set
exists in.public void setService(String service)
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
service
- The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.public String getService()
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
public UpdateTaskSetRequest withService(String service)
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
service
- The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.public void setTaskSet(String taskSet)
The short name or full Amazon Resource Name (ARN) of the task set to update.
taskSet
- The short name or full Amazon Resource Name (ARN) of the task set to update.public String getTaskSet()
The short name or full Amazon Resource Name (ARN) of the task set to update.
public UpdateTaskSetRequest withTaskSet(String taskSet)
The short name or full Amazon Resource Name (ARN) of the task set to update.
taskSet
- The short name or full Amazon Resource Name (ARN) of the task set to update.public void setScale(Scale scale)
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
scale
- A floating-point percentage of the desired number of tasks to place and keep running in the task set.public Scale getScale()
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
public UpdateTaskSetRequest withScale(Scale scale)
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
scale
- A floating-point percentage of the desired number of tasks to place and keep running in the task set.public String toString()
toString
in class Object
Object.toString()
public UpdateTaskSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()