@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskSet extends Object implements Serializable, Cloneable, StructuredPojo
 Information about a set of Amazon ECS tasks in either an AWS CodeDeploy or an EXTERNAL deployment. An
 Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the
 task set serves production traffic.
 
| Constructor and Description | 
|---|
| TaskSet() | 
| Modifier and Type | Method and Description | 
|---|---|
| TaskSet | clone() | 
| boolean | equals(Object obj) | 
| List<CapacityProviderStrategyItem> | getCapacityProviderStrategy()
 The capacity provider strategy associated with the task set. | 
| String | getClusterArn()
 The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in. | 
| Integer | getComputedDesiredCount()
 The computed desired count for the task set. | 
| Date | getCreatedAt()
 The Unix timestamp for when the task set was created. | 
| String | getExternalId()
 The external ID associated with the task set. | 
| String | getId()
 The ID of the task set. | 
| String | getLaunchType()
 The launch type the tasks in the task set are using. | 
| List<LoadBalancer> | getLoadBalancers()
 Details on a load balancer that is used with a task set. | 
| NetworkConfiguration | getNetworkConfiguration()
 The network configuration for the task set. | 
| Integer | getPendingCount()
 The number of tasks in the task set that are in the  PENDINGstatus during a deployment. | 
| String | getPlatformVersion()
 The platform version on which the tasks in the task set are running. | 
| Integer | getRunningCount()
 The number of tasks in the task set that are in the  RUNNINGstatus during a deployment. | 
| Scale | getScale()
 A floating-point percentage of the desired number of tasks to place and keep running in the task set. | 
| String | getServiceArn()
 The Amazon Resource Name (ARN) of the service the task set exists in. | 
| List<ServiceRegistry> | getServiceRegistries()
 The details of the service discovery registries to assign to this task set. | 
| String | getStabilityStatus()
 The stability status, which indicates whether the task set has reached a steady state. | 
| Date | getStabilityStatusAt()
 The Unix timestamp for when the task set stability status was retrieved. | 
| String | getStartedBy()
 The tag specified when a task set is started. | 
| String | getStatus()
 The status of the 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 the task set is using. | 
| String | getTaskSetArn()
 The Amazon Resource Name (ARN) of the task set. | 
| Date | getUpdatedAt()
 The Unix timestamp for when the task set was last updated. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
 The capacity provider strategy associated with the task set. | 
| void | setClusterArn(String clusterArn)
 The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in. | 
| void | setComputedDesiredCount(Integer computedDesiredCount)
 The computed desired count for the task set. | 
| void | setCreatedAt(Date createdAt)
 The Unix timestamp for when the task set was created. | 
| void | setExternalId(String externalId)
 The external ID associated with the task set. | 
| void | setId(String id)
 The ID of the task set. | 
| void | setLaunchType(String launchType)
 The launch type the tasks in the task set are using. | 
| void | setLoadBalancers(Collection<LoadBalancer> loadBalancers)
 Details on a load balancer that is used with a task set. | 
| void | setNetworkConfiguration(NetworkConfiguration networkConfiguration)
 The network configuration for the task set. | 
| void | setPendingCount(Integer pendingCount)
 The number of tasks in the task set that are in the  PENDINGstatus during a deployment. | 
| void | setPlatformVersion(String platformVersion)
 The platform version on which the tasks in the task set are running. | 
| void | setRunningCount(Integer runningCount)
 The number of tasks in the task set that are in the  RUNNINGstatus during a deployment. | 
| void | setScale(Scale scale)
 A floating-point percentage of the desired number of tasks to place and keep running in the task set. | 
| void | setServiceArn(String serviceArn)
 The Amazon Resource Name (ARN) of the service the task set exists in. | 
| void | setServiceRegistries(Collection<ServiceRegistry> serviceRegistries)
 The details of the service discovery registries to assign to this task set. | 
| void | setStabilityStatus(String stabilityStatus)
 The stability status, which indicates whether the task set has reached a steady state. | 
| void | setStabilityStatusAt(Date stabilityStatusAt)
 The Unix timestamp for when the task set stability status was retrieved. | 
| void | setStartedBy(String startedBy)
 The tag specified when a task set is started. | 
| void | setStatus(String status)
 The status of the 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 the task set is using. | 
| void | setTaskSetArn(String taskSetArn)
 The Amazon Resource Name (ARN) of the task set. | 
| void | setUpdatedAt(Date updatedAt)
 The Unix timestamp for when the task set was last updated. | 
| String | toString()Returns a string representation of this object. | 
| TaskSet | withCapacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)
 The capacity provider strategy associated with the task set. | 
| TaskSet | withCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
 The capacity provider strategy associated with the task set. | 
| TaskSet | withClusterArn(String clusterArn)
 The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in. | 
| TaskSet | withComputedDesiredCount(Integer computedDesiredCount)
 The computed desired count for the task set. | 
| TaskSet | withCreatedAt(Date createdAt)
 The Unix timestamp for when the task set was created. | 
| TaskSet | withExternalId(String externalId)
 The external ID associated with the task set. | 
| TaskSet | withId(String id)
 The ID of the task set. | 
| TaskSet | withLaunchType(LaunchType launchType)
 The launch type the tasks in the task set are using. | 
| TaskSet | withLaunchType(String launchType)
 The launch type the tasks in the task set are using. | 
| TaskSet | withLoadBalancers(Collection<LoadBalancer> loadBalancers)
 Details on a load balancer that is used with a task set. | 
| TaskSet | withLoadBalancers(LoadBalancer... loadBalancers)
 Details on a load balancer that is used with a task set. | 
| TaskSet | withNetworkConfiguration(NetworkConfiguration networkConfiguration)
 The network configuration for the task set. | 
| TaskSet | withPendingCount(Integer pendingCount)
 The number of tasks in the task set that are in the  PENDINGstatus during a deployment. | 
| TaskSet | withPlatformVersion(String platformVersion)
 The platform version on which the tasks in the task set are running. | 
| TaskSet | withRunningCount(Integer runningCount)
 The number of tasks in the task set that are in the  RUNNINGstatus during a deployment. | 
| TaskSet | withScale(Scale scale)
 A floating-point percentage of the desired number of tasks to place and keep running in the task set. | 
| TaskSet | withServiceArn(String serviceArn)
 The Amazon Resource Name (ARN) of the service the task set exists in. | 
| TaskSet | withServiceRegistries(Collection<ServiceRegistry> serviceRegistries)
 The details of the service discovery registries to assign to this task set. | 
| TaskSet | withServiceRegistries(ServiceRegistry... serviceRegistries)
 The details of the service discovery registries to assign to this task set. | 
| TaskSet | withStabilityStatus(StabilityStatus stabilityStatus)
 The stability status, which indicates whether the task set has reached a steady state. | 
| TaskSet | withStabilityStatus(String stabilityStatus)
 The stability status, which indicates whether the task set has reached a steady state. | 
| TaskSet | withStabilityStatusAt(Date stabilityStatusAt)
 The Unix timestamp for when the task set stability status was retrieved. | 
| TaskSet | withStartedBy(String startedBy)
 The tag specified when a task set is started. | 
| TaskSet | withStatus(String status)
 The status of the task set. | 
| TaskSet | withTags(Collection<Tag> tags)
 The metadata that you apply to the task set to help you categorize and organize them. | 
| TaskSet | withTags(Tag... tags)
 The metadata that you apply to the task set to help you categorize and organize them. | 
| TaskSet | withTaskDefinition(String taskDefinition)
 The task definition the task set is using. | 
| TaskSet | withTaskSetArn(String taskSetArn)
 The Amazon Resource Name (ARN) of the task set. | 
| TaskSet | withUpdatedAt(Date updatedAt)
 The Unix timestamp for when the task set was last updated. | 
public void setId(String id)
The ID of the task set.
id - The ID of the task set.public String getId()
The ID of the task set.
public TaskSet withId(String id)
The ID of the task set.
id - The ID of the task set.public void setTaskSetArn(String taskSetArn)
The Amazon Resource Name (ARN) of the task set.
taskSetArn - The Amazon Resource Name (ARN) of the task set.public String getTaskSetArn()
The Amazon Resource Name (ARN) of the task set.
public TaskSet withTaskSetArn(String taskSetArn)
The Amazon Resource Name (ARN) of the task set.
taskSetArn - The Amazon Resource Name (ARN) of the task set.public void setServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service the task set exists in.
serviceArn - The Amazon Resource Name (ARN) of the service the task set exists in.public String getServiceArn()
The Amazon Resource Name (ARN) of the service the task set exists in.
public TaskSet withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the service the task set exists in.
serviceArn - The Amazon Resource Name (ARN) of the service the task set exists in.public void setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in.
clusterArn - The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in.public String getClusterArn()
The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in.
public TaskSet withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in.
clusterArn - The Amazon Resource Name (ARN) of the cluster that the service that hosts the task set exists in.public void setStartedBy(String startedBy)
 The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy deployment, the
 startedBy parameter is CODE_DEPLOY. For a task set created for an external deployment,
 the startedBy field isn't used.
 
startedBy - The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy deployment,
        the startedBy parameter is CODE_DEPLOY. For a task set created for an external
        deployment, the startedBy field isn't used.public String getStartedBy()
 The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy deployment, the
 startedBy parameter is CODE_DEPLOY. For a task set created for an external deployment,
 the startedBy field isn't used.
 
startedBy parameter is CODE_DEPLOY. For a task set created for an external
         deployment, the startedBy field isn't used.public TaskSet withStartedBy(String startedBy)
 The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy deployment, the
 startedBy parameter is CODE_DEPLOY. For a task set created for an external deployment,
 the startedBy field isn't used.
 
startedBy - The tag specified when a task set is started. If the task set is created by an AWS CodeDeploy deployment,
        the startedBy parameter is CODE_DEPLOY. For a task set created for an external
        deployment, the startedBy field isn't used.public void setExternalId(String externalId)
The external ID associated with the task set.
 If a task set is created by an AWS CodeDeploy deployment, the externalId parameter contains the AWS
 CodeDeploy deployment ID.
 
 If a task set is created for an external deployment and is associated with a service discovery registry, the
 externalId parameter contains the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute.
 
externalId - The external ID associated with the task set.
        
        If a task set is created by an AWS CodeDeploy deployment, the externalId parameter contains
        the AWS CodeDeploy deployment ID.
        
        If a task set is created for an external deployment and is associated with a service discovery registry,
        the externalId parameter contains the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map
        attribute.
public String getExternalId()
The external ID associated with the task set.
 If a task set is created by an AWS CodeDeploy deployment, the externalId parameter contains the AWS
 CodeDeploy deployment ID.
 
 If a task set is created for an external deployment and is associated with a service discovery registry, the
 externalId parameter contains the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute.
 
         If a task set is created by an AWS CodeDeploy deployment, the externalId parameter contains
         the AWS CodeDeploy deployment ID.
         
         If a task set is created for an external deployment and is associated with a service discovery registry,
         the externalId parameter contains the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map
         attribute.
public TaskSet withExternalId(String externalId)
The external ID associated with the task set.
 If a task set is created by an AWS CodeDeploy deployment, the externalId parameter contains the AWS
 CodeDeploy deployment ID.
 
 If a task set is created for an external deployment and is associated with a service discovery registry, the
 externalId parameter contains the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute.
 
externalId - The external ID associated with the task set.
        
        If a task set is created by an AWS CodeDeploy deployment, the externalId parameter contains
        the AWS CodeDeploy deployment ID.
        
        If a task set is created for an external deployment and is associated with a service discovery registry,
        the externalId parameter contains the ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map
        attribute.
public void setStatus(String status)
The status of the task set. The following describes each state:
The task set is serving production traffic.
The task set is not serving production traffic.
The tasks in the task set are being stopped and their corresponding targets are being deregistered from their target group.
status - The status of the task set. The following describes each state:
        The task set is serving production traffic.
The task set is not serving production traffic.
The tasks in the task set are being stopped and their corresponding targets are being deregistered from their target group.
public String getStatus()
The status of the task set. The following describes each state:
The task set is serving production traffic.
The task set is not serving production traffic.
The tasks in the task set are being stopped and their corresponding targets are being deregistered from their target group.
The task set is serving production traffic.
The task set is not serving production traffic.
The tasks in the task set are being stopped and their corresponding targets are being deregistered from their target group.
public TaskSet withStatus(String status)
The status of the task set. The following describes each state:
The task set is serving production traffic.
The task set is not serving production traffic.
The tasks in the task set are being stopped and their corresponding targets are being deregistered from their target group.
status - The status of the task set. The following describes each state:
        The task set is serving production traffic.
The task set is not serving production traffic.
The tasks in the task set are being stopped and their corresponding targets are being deregistered from their target group.
public void setTaskDefinition(String taskDefinition)
The task definition the task set is using.
taskDefinition - The task definition the task set is using.public String getTaskDefinition()
The task definition the task set is using.
public TaskSet withTaskDefinition(String taskDefinition)
The task definition the task set is using.
taskDefinition - The task definition the task set is using.public void setComputedDesiredCount(Integer computedDesiredCount)
 The computed desired count for the task set. This is calculated by multiplying the service's
 desiredCount by the task set's scale percentage. The result is always rounded up. For
 example, if the computed desired count is 1.2, it rounds up to 2 tasks.
 
computedDesiredCount - The computed desired count for the task set. This is calculated by multiplying the service's
        desiredCount by the task set's scale percentage. The result is always rounded
        up. For example, if the computed desired count is 1.2, it rounds up to 2 tasks.public Integer getComputedDesiredCount()
 The computed desired count for the task set. This is calculated by multiplying the service's
 desiredCount by the task set's scale percentage. The result is always rounded up. For
 example, if the computed desired count is 1.2, it rounds up to 2 tasks.
 
desiredCount by the task set's scale percentage. The result is always rounded
         up. For example, if the computed desired count is 1.2, it rounds up to 2 tasks.public TaskSet withComputedDesiredCount(Integer computedDesiredCount)
 The computed desired count for the task set. This is calculated by multiplying the service's
 desiredCount by the task set's scale percentage. The result is always rounded up. For
 example, if the computed desired count is 1.2, it rounds up to 2 tasks.
 
computedDesiredCount - The computed desired count for the task set. This is calculated by multiplying the service's
        desiredCount by the task set's scale percentage. The result is always rounded
        up. For example, if the computed desired count is 1.2, it rounds up to 2 tasks.public void setPendingCount(Integer pendingCount)
 The number of tasks in the task set that are in the PENDING status during a deployment. A task in
 the PENDING state is preparing to enter the RUNNING state. A task set enters the
 PENDING status when it launches for the first time or when it is restarted after being in the
 STOPPED state.
 
pendingCount - The number of tasks in the task set that are in the PENDING status during a deployment. A
        task in the PENDING state is preparing to enter the RUNNING state. A task set
        enters the PENDING status when it launches for the first time or when it is restarted after
        being in the STOPPED state.public Integer getPendingCount()
 The number of tasks in the task set that are in the PENDING status during a deployment. A task in
 the PENDING state is preparing to enter the RUNNING state. A task set enters the
 PENDING status when it launches for the first time or when it is restarted after being in the
 STOPPED state.
 
PENDING status during a deployment. A
         task in the PENDING state is preparing to enter the RUNNING state. A task set
         enters the PENDING status when it launches for the first time or when it is restarted after
         being in the STOPPED state.public TaskSet withPendingCount(Integer pendingCount)
 The number of tasks in the task set that are in the PENDING status during a deployment. A task in
 the PENDING state is preparing to enter the RUNNING state. A task set enters the
 PENDING status when it launches for the first time or when it is restarted after being in the
 STOPPED state.
 
pendingCount - The number of tasks in the task set that are in the PENDING status during a deployment. A
        task in the PENDING state is preparing to enter the RUNNING state. A task set
        enters the PENDING status when it launches for the first time or when it is restarted after
        being in the STOPPED state.public void setRunningCount(Integer runningCount)
 The number of tasks in the task set that are in the RUNNING status during a deployment. A task in
 the RUNNING state is running and ready for use.
 
runningCount - The number of tasks in the task set that are in the RUNNING status during a deployment. A
        task in the RUNNING state is running and ready for use.public Integer getRunningCount()
 The number of tasks in the task set that are in the RUNNING status during a deployment. A task in
 the RUNNING state is running and ready for use.
 
RUNNING status during a deployment. A
         task in the RUNNING state is running and ready for use.public TaskSet withRunningCount(Integer runningCount)
 The number of tasks in the task set that are in the RUNNING status during a deployment. A task in
 the RUNNING state is running and ready for use.
 
runningCount - The number of tasks in the task set that are in the RUNNING status during a deployment. A
        task in the RUNNING state is running and ready for use.public void setCreatedAt(Date createdAt)
The Unix timestamp for when the task set was created.
createdAt - The Unix timestamp for when the task set was created.public Date getCreatedAt()
The Unix timestamp for when the task set was created.
public TaskSet withCreatedAt(Date createdAt)
The Unix timestamp for when the task set was created.
createdAt - The Unix timestamp for when the task set was created.public void setUpdatedAt(Date updatedAt)
The Unix timestamp for when the task set was last updated.
updatedAt - The Unix timestamp for when the task set was last updated.public Date getUpdatedAt()
The Unix timestamp for when the task set was last updated.
public TaskSet withUpdatedAt(Date updatedAt)
The Unix timestamp for when the task set was last updated.
updatedAt - The Unix timestamp for when the task set was last updated.public void setLaunchType(String launchType)
The launch type the tasks in the task set are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType - The launch type the tasks in the task set are using. For more information, see Amazon ECS Launch
        Types in the Amazon Elastic Container Service Developer Guide.LaunchTypepublic String getLaunchType()
The launch type the tasks in the task set are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
LaunchTypepublic TaskSet withLaunchType(String launchType)
The launch type the tasks in the task set are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType - The launch type the tasks in the task set are using. For more information, see Amazon ECS Launch
        Types in the Amazon Elastic Container Service Developer Guide.LaunchTypepublic TaskSet withLaunchType(LaunchType launchType)
The launch type the tasks in the task set are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType - The launch type the tasks in the task set are using. For more information, see Amazon ECS Launch
        Types in the Amazon Elastic Container Service Developer Guide.LaunchTypepublic List<CapacityProviderStrategyItem> getCapacityProviderStrategy()
The capacity provider strategy associated with the task set.
public void setCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy associated with the task set.
capacityProviderStrategy - The capacity provider strategy associated with the task set.public TaskSet withCapacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)
The capacity provider strategy associated with the task set.
 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 associated with the task set.public TaskSet withCapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)
The capacity provider strategy associated with the task set.
capacityProviderStrategy - The capacity provider strategy associated with the task set.public void setPlatformVersion(String platformVersion)
 The platform version on which the tasks in the task set are running. A platform version is only specified for
 tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by
 default. For more information, see AWS Fargate Platform
 Versions in the Amazon Elastic Container Service Developer Guide.
 
platformVersion - The platform version on which the tasks in the task set are running. A platform version is only specified
        for tasks using the Fargate launch type. If one is not specified, the LATEST platform version
        is used by default. For more information, see AWS Fargate
        Platform Versions in the Amazon Elastic Container Service Developer Guide.public String getPlatformVersion()
 The platform version on which the tasks in the task set are running. A platform version is only specified for
 tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by
 default. For more information, see AWS Fargate Platform
 Versions in the Amazon Elastic Container Service Developer Guide.
 
LATEST platform
         version is used by default. For more information, see AWS Fargate
         Platform Versions in the Amazon Elastic Container Service Developer Guide.public TaskSet withPlatformVersion(String platformVersion)
 The platform version on which the tasks in the task set are running. A platform version is only specified for
 tasks using the Fargate launch type. If one is not specified, the LATEST platform version is used by
 default. For more information, see AWS Fargate Platform
 Versions in the Amazon Elastic Container Service Developer Guide.
 
platformVersion - The platform version on which the tasks in the task set are running. A platform version is only specified
        for tasks using the Fargate launch type. If one is not specified, the LATEST platform version
        is used by default. For more information, see AWS Fargate
        Platform Versions in the Amazon Elastic Container Service Developer Guide.public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for the task set.
networkConfiguration - The network configuration for the task set.public NetworkConfiguration getNetworkConfiguration()
The network configuration for the task set.
public TaskSet withNetworkConfiguration(NetworkConfiguration networkConfiguration)
The network configuration for the task set.
networkConfiguration - The network configuration for the task set.public List<LoadBalancer> getLoadBalancers()
Details on a load balancer that is used with a task set.
public void setLoadBalancers(Collection<LoadBalancer> loadBalancers)
Details on a load balancer that is used with a task set.
loadBalancers - Details on a load balancer that is used with a task set.public TaskSet withLoadBalancers(LoadBalancer... loadBalancers)
Details on a load balancer that is used with a task set.
 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 - Details on a load balancer that is used with a task set.public TaskSet withLoadBalancers(Collection<LoadBalancer> loadBalancers)
Details on a load balancer that is used with a task set.
loadBalancers - Details on a load balancer that is used with a task set.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 TaskSet 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 TaskSet 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 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 TaskSet 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 setStabilityStatus(String stabilityStatus)
 The stability status, which indicates whether the task set has reached a steady state. If the following
 conditions are met, the task set will be in STEADY_STATE:
 
 The task runningCount is equal to the computedDesiredCount.
 
 The pendingCount is 0.
 
 There are no tasks running on container instances in the DRAINING status.
 
All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks.
 If any of those conditions are not met, the stability status returns STABILIZING.
 
stabilityStatus - The stability status, which indicates whether the task set has reached a steady state. If the following
        conditions are met, the task set will be in STEADY_STATE:
        
        The task runningCount is equal to the computedDesiredCount.
        
        The pendingCount is 0.
        
        There are no tasks running on container instances in the DRAINING status.
        
All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks.
        If any of those conditions are not met, the stability status returns STABILIZING.
StabilityStatuspublic String getStabilityStatus()
 The stability status, which indicates whether the task set has reached a steady state. If the following
 conditions are met, the task set will be in STEADY_STATE:
 
 The task runningCount is equal to the computedDesiredCount.
 
 The pendingCount is 0.
 
 There are no tasks running on container instances in the DRAINING status.
 
All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks.
 If any of those conditions are not met, the stability status returns STABILIZING.
 
STEADY_STATE:
         
         The task runningCount is equal to the computedDesiredCount.
         
         The pendingCount is 0.
         
         There are no tasks running on container instances in the DRAINING status.
         
All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks.
         If any of those conditions are not met, the stability status returns STABILIZING.
StabilityStatuspublic TaskSet withStabilityStatus(String stabilityStatus)
 The stability status, which indicates whether the task set has reached a steady state. If the following
 conditions are met, the task set will be in STEADY_STATE:
 
 The task runningCount is equal to the computedDesiredCount.
 
 The pendingCount is 0.
 
 There are no tasks running on container instances in the DRAINING status.
 
All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks.
 If any of those conditions are not met, the stability status returns STABILIZING.
 
stabilityStatus - The stability status, which indicates whether the task set has reached a steady state. If the following
        conditions are met, the task set will be in STEADY_STATE:
        
        The task runningCount is equal to the computedDesiredCount.
        
        The pendingCount is 0.
        
        There are no tasks running on container instances in the DRAINING status.
        
All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks.
        If any of those conditions are not met, the stability status returns STABILIZING.
StabilityStatuspublic TaskSet withStabilityStatus(StabilityStatus stabilityStatus)
 The stability status, which indicates whether the task set has reached a steady state. If the following
 conditions are met, the task set will be in STEADY_STATE:
 
 The task runningCount is equal to the computedDesiredCount.
 
 The pendingCount is 0.
 
 There are no tasks running on container instances in the DRAINING status.
 
All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks.
 If any of those conditions are not met, the stability status returns STABILIZING.
 
stabilityStatus - The stability status, which indicates whether the task set has reached a steady state. If the following
        conditions are met, the task set will be in STEADY_STATE:
        
        The task runningCount is equal to the computedDesiredCount.
        
        The pendingCount is 0.
        
        There are no tasks running on container instances in the DRAINING status.
        
All tasks are reporting a healthy status from the load balancers, service discovery, and container health checks.
        If any of those conditions are not met, the stability status returns STABILIZING.
StabilityStatuspublic void setStabilityStatusAt(Date stabilityStatusAt)
The Unix timestamp for when the task set stability status was retrieved.
stabilityStatusAt - The Unix timestamp for when the task set stability status was retrieved.public Date getStabilityStatusAt()
The Unix timestamp for when the task set stability status was retrieved.
public TaskSet withStabilityStatusAt(Date stabilityStatusAt)
The Unix timestamp for when the task set stability status was retrieved.
stabilityStatusAt - The Unix timestamp for when the task set stability status was retrieved.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, both of which you define.
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 AWS 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 AWS 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, both of which you define.
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 AWS 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, both of which you define.
        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 AWS 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 TaskSet 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, both of which you define.
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 AWS 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, both of which you define.
        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 AWS 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 TaskSet 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, both of which you define.
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 AWS 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, both of which you define.
        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 AWS 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 ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.