@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTaskSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTaskSetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTaskSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<CapacityProviderStrategyItem> |
getCapacityProviderStrategy()
The capacity provider strategy to use for the task set.
|
String |
getClientToken()
An identifier that you provide to ensure the idempotency of the request.
|
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set
in.
|
String |
getExternalId()
An optional non-unique tag that identifies this task set in external systems.
|
String |
getLaunchType()
The launch type that new tasks in the task set uses.
|
List<LoadBalancer> |
getLoadBalancers()
A load balancer object representing the load balancer to use with the task set.
|
NetworkConfiguration |
getNetworkConfiguration()
An object representing the network configuration for a task set.
|
String |
getPlatformVersion()
The platform version that the tasks in the task set uses.
|
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 to create the task set in.
|
List<ServiceRegistry> |
getServiceRegistries()
The details of the service discovery registries to assign to this task set.
|
List<Tag> |
getTags()
The metadata that you apply to the task set to help you categorize and organize them.
|
String |
getTaskDefinition()
The task definition for the tasks in the task set to use.
|
int |
hashCode() |
void |
setCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy to use for the task set.
|
void |
setClientToken(String clientToken)
An identifier that you provide to ensure the idempotency of the request.
|
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set
in.
|
void |
setExternalId(String externalId)
An optional non-unique tag that identifies this task set in external systems.
|
void |
setLaunchType(String launchType)
The launch type that new tasks in the task set uses.
|
void |
setLoadBalancers(Collection<LoadBalancer> loadBalancers)
A load balancer object representing the load balancer to use with the task set.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration)
An object representing the network configuration for a task set.
|
void |
setPlatformVersion(String platformVersion)
The platform version that the tasks in the task set uses.
|
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 to create the task set in.
|
void |
setServiceRegistries(Collection<ServiceRegistry> serviceRegistries)
The details of the service discovery registries to assign to this task set.
|
void |
setTags(Collection<Tag> tags)
The metadata that you apply to the task set to help you categorize and organize them.
|
void |
setTaskDefinition(String taskDefinition)
The task definition for the tasks in the task set to use.
|
String |
toString()
Returns a string representation of this object.
|
CreateTaskSetRequest |
withCapacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)
The capacity provider strategy to use for the task set.
|
CreateTaskSetRequest |
withCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy to use for the task set.
|
CreateTaskSetRequest |
withClientToken(String clientToken)
An identifier that you provide to ensure the idempotency of the request.
|
CreateTaskSetRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set
in.
|
CreateTaskSetRequest |
withExternalId(String externalId)
An optional non-unique tag that identifies this task set in external systems.
|
CreateTaskSetRequest |
withLaunchType(LaunchType launchType)
The launch type that new tasks in the task set uses.
|
CreateTaskSetRequest |
withLaunchType(String launchType)
The launch type that new tasks in the task set uses.
|
CreateTaskSetRequest |
withLoadBalancers(Collection<LoadBalancer> loadBalancers)
A load balancer object representing the load balancer to use with the task set.
|
CreateTaskSetRequest |
withLoadBalancers(LoadBalancer... loadBalancers)
A load balancer object representing the load balancer to use with the task set.
|
CreateTaskSetRequest |
withNetworkConfiguration(NetworkConfiguration networkConfiguration)
An object representing the network configuration for a task set.
|
CreateTaskSetRequest |
withPlatformVersion(String platformVersion)
The platform version that the tasks in the task set uses.
|
CreateTaskSetRequest |
withScale(Scale scale)
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
|
CreateTaskSetRequest |
withService(String service)
The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
|
CreateTaskSetRequest |
withServiceRegistries(Collection<ServiceRegistry> serviceRegistries)
The details of the service discovery registries to assign to this task set.
|
CreateTaskSetRequest |
withServiceRegistries(ServiceRegistry... serviceRegistries)
The details of the service discovery registries to assign to this task set.
|
CreateTaskSetRequest |
withTags(Collection<Tag> tags)
The metadata that you apply to the task set to help you categorize and organize them.
|
CreateTaskSetRequest |
withTags(Tag... tags)
The metadata that you apply to the task set to help you categorize and organize them.
|
CreateTaskSetRequest |
withTaskDefinition(String taskDefinition)
The task definition for the tasks in the task set to use.
|
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 setService(String service)
The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
service
- The short name or full Amazon Resource Name (ARN) of the service to create the task set in.public String getService()
The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
public CreateTaskSetRequest withService(String service)
The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
service
- The short name or full Amazon Resource Name (ARN) of the service to create the task set in.public void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task
set in.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
public CreateTaskSetRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task
set in.public void setExternalId(String externalId)
An optional non-unique tag that identifies this task set in external systems. If the task set is associated with
a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute set to the provided value.
externalId
- An optional non-unique tag that identifies this task set in external systems. If the task set is
associated with a service discovery registry, the tasks in this task set will have the
ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute set to the provided value.public String getExternalId()
An optional non-unique tag that identifies this task set in external systems. If the task set is associated with
a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute set to the provided value.
ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute set to the provided value.public CreateTaskSetRequest withExternalId(String externalId)
An optional non-unique tag that identifies this task set in external systems. If the task set is associated with
a service discovery registry, the tasks in this task set will have the ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute set to the provided value.
externalId
- An optional non-unique tag that identifies this task set in external systems. If the task set is
associated with a service discovery registry, the tasks in this task set will have the
ECS_TASK_SET_EXTERNAL_ID
Cloud Map attribute set to the provided value.public void setTaskDefinition(String taskDefinition)
The task definition for the tasks in the task set to use. If a revision isn't specified, the latest
ACTIVE
revision is used.
taskDefinition
- The task definition for the tasks in the task set to use. If a revision isn't specified, the latest
ACTIVE
revision is used.public String getTaskDefinition()
The task definition for the tasks in the task set to use. If a revision isn't specified, the latest
ACTIVE
revision is used.
ACTIVE
revision is used.public CreateTaskSetRequest withTaskDefinition(String taskDefinition)
The task definition for the tasks in the task set to use. If a revision isn't specified, the latest
ACTIVE
revision is used.
taskDefinition
- The task definition for the tasks in the task set to use. If a revision isn't specified, the latest
ACTIVE
revision is used.public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
An object representing the network configuration for a task set.
networkConfiguration
- An object representing the network configuration for a task set.public NetworkConfiguration getNetworkConfiguration()
An object representing the network configuration for a task set.
public CreateTaskSetRequest withNetworkConfiguration(NetworkConfiguration networkConfiguration)
An object representing the network configuration for a task set.
networkConfiguration
- An object representing the network configuration for a task set.public List<LoadBalancer> getLoadBalancers()
A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
public void setLoadBalancers(Collection<LoadBalancer> loadBalancers)
A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
loadBalancers
- A load balancer object representing the load balancer to use with the task set. The supported load
balancer types are either an Application Load Balancer or a Network Load Balancer.public CreateTaskSetRequest withLoadBalancers(LoadBalancer... loadBalancers)
A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancers(java.util.Collection)
or withLoadBalancers(java.util.Collection)
if you want
to override the existing values.
loadBalancers
- A load balancer object representing the load balancer to use with the task set. The supported load
balancer types are either an Application Load Balancer or a Network Load Balancer.public CreateTaskSetRequest withLoadBalancers(Collection<LoadBalancer> loadBalancers)
A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer.
loadBalancers
- A load balancer object representing the load balancer to use with the task set. The supported load
balancer types are either an Application Load Balancer or a Network Load Balancer.public List<ServiceRegistry> getServiceRegistries()
The details of the service discovery registries to assign to this task set. For more information, see Service discovery.
public void setServiceRegistries(Collection<ServiceRegistry> serviceRegistries)
The details of the service discovery registries to assign to this task set. For more information, see Service discovery.
serviceRegistries
- The details of the service discovery registries to assign to this task set. For more information, see Service
discovery.public CreateTaskSetRequest withServiceRegistries(ServiceRegistry... serviceRegistries)
The details of the service discovery registries to assign to this task set. For more information, see Service discovery.
NOTE: This method appends the values to the existing list (if any). Use
setServiceRegistries(java.util.Collection)
or withServiceRegistries(java.util.Collection)
if
you want to override the existing values.
serviceRegistries
- The details of the service discovery registries to assign to this task set. For more information, see Service
discovery.public CreateTaskSetRequest withServiceRegistries(Collection<ServiceRegistry> serviceRegistries)
The details of the service discovery registries to assign to this task set. For more information, see Service discovery.
serviceRegistries
- The details of the service discovery registries to assign to this task set. For more information, see Service
discovery.public void setLaunchType(String launchType)
The launch type that new tasks in the task set uses. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
If a launchType
is specified, the capacityProviderStrategy
parameter must be omitted.
launchType
- The launch type that new tasks in the task set uses. For more information, see Amazon ECS launch
types in the Amazon Elastic Container Service Developer Guide.
If a launchType
is specified, the capacityProviderStrategy
parameter must be
omitted.
LaunchType
public String getLaunchType()
The launch type that new tasks in the task set uses. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
If a launchType
is specified, the capacityProviderStrategy
parameter must be omitted.
If a launchType
is specified, the capacityProviderStrategy
parameter must be
omitted.
LaunchType
public CreateTaskSetRequest withLaunchType(String launchType)
The launch type that new tasks in the task set uses. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
If a launchType
is specified, the capacityProviderStrategy
parameter must be omitted.
launchType
- The launch type that new tasks in the task set uses. For more information, see Amazon ECS launch
types in the Amazon Elastic Container Service Developer Guide.
If a launchType
is specified, the capacityProviderStrategy
parameter must be
omitted.
LaunchType
public CreateTaskSetRequest withLaunchType(LaunchType launchType)
The launch type that new tasks in the task set uses. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
If a launchType
is specified, the capacityProviderStrategy
parameter must be omitted.
launchType
- The launch type that new tasks in the task set uses. For more information, see Amazon ECS launch
types in the Amazon Elastic Container Service Developer Guide.
If a launchType
is specified, the capacityProviderStrategy
parameter must be
omitted.
LaunchType
public List<CapacityProviderStrategyItem> getCapacityProviderStrategy()
The capacity provider strategy to use for the task set.
A capacity provider strategy consists of one or more capacity providers along with the base
and
weight
to assign to them. A capacity provider must be associated with the cluster to be used in a
capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider
with a cluster. Only capacity providers with an ACTIVE
or UPDATING
status can be used.
If a capacityProviderStrategy
is specified, the launchType
parameter must be omitted.
If no capacityProviderStrategy
or launchType
is specified, the
defaultCapacityProviderStrategy
for the cluster is used.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity
providers. The Fargate capacity providers are available to all accounts and only need to be associated with a
cluster to be used.
The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
A capacity provider strategy consists of one or more capacity providers along with the base
and weight
to assign to them. A capacity provider must be associated with the cluster to be
used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a
capacity provider with a cluster. Only capacity providers with an ACTIVE
or
UPDATING
status can be used.
If a capacityProviderStrategy
is specified, the launchType
parameter must be
omitted. If no capacityProviderStrategy
or launchType
is specified, the
defaultCapacityProviderStrategy
for the cluster is used.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity providers. The Fargate capacity providers are available to all accounts and only need to be
associated with a cluster to be used.
The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
public void setCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy to use for the task set.
A capacity provider strategy consists of one or more capacity providers along with the base
and
weight
to assign to them. A capacity provider must be associated with the cluster to be used in a
capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider
with a cluster. Only capacity providers with an ACTIVE
or UPDATING
status can be used.
If a capacityProviderStrategy
is specified, the launchType
parameter must be omitted.
If no capacityProviderStrategy
or launchType
is specified, the
defaultCapacityProviderStrategy
for the cluster is used.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity
providers. The Fargate capacity providers are available to all accounts and only need to be associated with a
cluster to be used.
The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
capacityProviderStrategy
- The capacity provider strategy to use for the task set.
A capacity provider strategy consists of one or more capacity providers along with the base
and weight
to assign to them. A capacity provider must be associated with the cluster to be
used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a
capacity provider with a cluster. Only capacity providers with an ACTIVE
or
UPDATING
status can be used.
If a capacityProviderStrategy
is specified, the launchType
parameter must be
omitted. If no capacityProviderStrategy
or launchType
is specified, the
defaultCapacityProviderStrategy
for the cluster is used.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity providers. The Fargate capacity providers are available to all accounts and only need to be
associated with a cluster to be used.
The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
public CreateTaskSetRequest withCapacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)
The capacity provider strategy to use for the task set.
A capacity provider strategy consists of one or more capacity providers along with the base
and
weight
to assign to them. A capacity provider must be associated with the cluster to be used in a
capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider
with a cluster. Only capacity providers with an ACTIVE
or UPDATING
status can be used.
If a capacityProviderStrategy
is specified, the launchType
parameter must be omitted.
If no capacityProviderStrategy
or launchType
is specified, the
defaultCapacityProviderStrategy
for the cluster is used.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity
providers. The Fargate capacity providers are available to all accounts and only need to be associated with a
cluster to be used.
The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
NOTE: This method appends the values to the existing list (if any). Use
setCapacityProviderStrategy(java.util.Collection)
or
withCapacityProviderStrategy(java.util.Collection)
if you want to override the existing values.
capacityProviderStrategy
- The capacity provider strategy to use for the task set.
A capacity provider strategy consists of one or more capacity providers along with the base
and weight
to assign to them. A capacity provider must be associated with the cluster to be
used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a
capacity provider with a cluster. Only capacity providers with an ACTIVE
or
UPDATING
status can be used.
If a capacityProviderStrategy
is specified, the launchType
parameter must be
omitted. If no capacityProviderStrategy
or launchType
is specified, the
defaultCapacityProviderStrategy
for the cluster is used.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity providers. The Fargate capacity providers are available to all accounts and only need to be
associated with a cluster to be used.
The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
public CreateTaskSetRequest withCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy to use for the task set.
A capacity provider strategy consists of one or more capacity providers along with the base
and
weight
to assign to them. A capacity provider must be associated with the cluster to be used in a
capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider
with a cluster. Only capacity providers with an ACTIVE
or UPDATING
status can be used.
If a capacityProviderStrategy
is specified, the launchType
parameter must be omitted.
If no capacityProviderStrategy
or launchType
is specified, the
defaultCapacityProviderStrategy
for the cluster is used.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity
providers. The Fargate capacity providers are available to all accounts and only need to be associated with a
cluster to be used.
The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
capacityProviderStrategy
- The capacity provider strategy to use for the task set.
A capacity provider strategy consists of one or more capacity providers along with the base
and weight
to assign to them. A capacity provider must be associated with the cluster to be
used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a
capacity provider with a cluster. Only capacity providers with an ACTIVE
or
UPDATING
status can be used.
If a capacityProviderStrategy
is specified, the launchType
parameter must be
omitted. If no capacityProviderStrategy
or launchType
is specified, the
defaultCapacityProviderStrategy
for the cluster is used.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity providers. The Fargate capacity providers are available to all accounts and only need to be
associated with a cluster to be used.
The PutClusterCapacityProviders API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
public void setPlatformVersion(String platformVersion)
The platform version that the tasks in the task set uses. A platform version is specified only for tasks using
the Fargate launch type. If one isn't specified, the LATEST
platform version is used.
platformVersion
- The platform version that the tasks in the task set uses. A platform version is specified only for tasks
using the Fargate launch type. If one isn't specified, the LATEST
platform version is used.public String getPlatformVersion()
The platform version that the tasks in the task set uses. A platform version is specified only for tasks using
the Fargate launch type. If one isn't specified, the LATEST
platform version is used.
LATEST
platform version is used.public CreateTaskSetRequest withPlatformVersion(String platformVersion)
The platform version that the tasks in the task set uses. A platform version is specified only for tasks using
the Fargate launch type. If one isn't specified, the LATEST
platform version is used.
platformVersion
- The platform version that the tasks in the task set uses. A platform version is specified only for tasks
using the Fargate launch type. If one isn't specified, the LATEST
platform version is used.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 CreateTaskSetRequest 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 void setClientToken(String clientToken)
An identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.
clientToken
- An identifier that you provide to ensure the idempotency of the request. It must be unique and is case
sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.public String getClientToken()
An identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.
public CreateTaskSetRequest withClientToken(String clientToken)
An identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.
clientToken
- An identifier that you provide to ensure the idempotency of the request. It must be unique and is case
sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed.public List<Tag> getTags()
The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. When a service is deleted, the tags are deleted.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values
with this prefix. Tags with this prefix do not count against your tags per resource limit.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a
prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete
tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource
limit.
public void setTags(Collection<Tag> tags)
The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. When a service is deleted, the tags are deleted.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values
with this prefix. Tags with this prefix do not count against your tags per resource limit.
tags
- The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of
a key and an optional value. You define both. When a service is deleted, the tags are deleted.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag
keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
public CreateTaskSetRequest withTags(Tag... tags)
The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. When a service is deleted, the tags are deleted.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values
with this prefix. Tags with this prefix do not count against your tags per resource limit.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of
a key and an optional value. You define both. When a service is deleted, the tags are deleted.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag
keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
public CreateTaskSetRequest withTags(Collection<Tag> tags)
The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of a key and an optional value. You define both. When a service is deleted, the tags are deleted.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix for
either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values
with this prefix. Tags with this prefix do not count against your tags per resource limit.
tags
- The metadata that you apply to the task set to help you categorize and organize them. Each tag consists of
a key and an optional value. You define both. When a service is deleted, the tags are deleted.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag
keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
public String toString()
toString
in class Object
Object.toString()
public CreateTaskSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()