@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTaskProtectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetTaskProtectionRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetTaskProtectionRequest |
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 sets exist
in.
|
List<String> |
getTasks()
A list of up to 100 task IDs or full ARN entries.
|
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 sets exist
in.
|
void |
setTasks(Collection<String> tasks)
A list of up to 100 task IDs or full ARN entries.
|
String |
toString()
Returns a string representation of this object.
|
GetTaskProtectionRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist
in.
|
GetTaskProtectionRequest |
withTasks(Collection<String> tasks)
A list of up to 100 task IDs or full ARN entries.
|
GetTaskProtectionRequest |
withTasks(String... tasks)
A list of up to 100 task IDs or full ARN entries.
|
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, withSdkRequestTimeoutpublic void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets
exist in.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.
public GetTaskProtectionRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets
exist in.public List<String> getTasks()
A list of up to 100 task IDs or full ARN entries.
public void setTasks(Collection<String> tasks)
A list of up to 100 task IDs or full ARN entries.
tasks - A list of up to 100 task IDs or full ARN entries.public GetTaskProtectionRequest withTasks(String... tasks)
A list of up to 100 task IDs or full ARN entries.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection) or withTasks(java.util.Collection) if you want to override the
existing values.
tasks - A list of up to 100 task IDs or full ARN entries.public GetTaskProtectionRequest withTasks(Collection<String> tasks)
A list of up to 100 task IDs or full ARN entries.
tasks - A list of up to 100 task IDs or full ARN entries.public String toString()
toString in class ObjectObject.toString()public GetTaskProtectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()