@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)  | 
String | 
getClientToken()
 Unique, case-sensitive 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 will use. 
 | 
List<LoadBalancer> | 
getLoadBalancers()
 A load balancer object representing the load balancer to use with the task set. 
 | 
NetworkConfiguration | 
getNetworkConfiguration()  | 
String | 
getPlatformVersion()
 The platform version that the tasks in the task set should use. 
 | 
Scale | 
getScale()  | 
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. 
 | 
String | 
getTaskDefinition()
 The task definition for the tasks in the task set to use. 
 | 
int | 
hashCode()  | 
void | 
setClientToken(String clientToken)
 Unique, case-sensitive 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 will use. 
 | 
void | 
setLoadBalancers(Collection<LoadBalancer> loadBalancers)
 A load balancer object representing the load balancer to use with the task set. 
 | 
void | 
setNetworkConfiguration(NetworkConfiguration networkConfiguration)  | 
void | 
setPlatformVersion(String platformVersion)
 The platform version that the tasks in the task set should use. 
 | 
void | 
setScale(Scale scale)  | 
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 | 
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 | 
withClientToken(String clientToken)
 Unique, case-sensitive 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 will use. 
 | 
CreateTaskSetRequest | 
withLaunchType(String launchType)
 The launch type that new tasks in the task set will use. 
 | 
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)  | 
CreateTaskSetRequest | 
withPlatformVersion(String platformVersion)
 The platform version that the tasks in the task set should use. 
 | 
CreateTaskSetRequest | 
withScale(Scale scale)  | 
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 | 
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, withSdkRequestTimeoutpublic 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 AWS
 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 AWS 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 AWS
 Cloud Map attribute set to the provided value.
 
ECS_TASK_SET_EXTERNAL_ID AWS 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 AWS
 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 AWS 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.
taskDefinition - The task definition for the tasks in the task set to use.public String getTaskDefinition()
The task definition for the tasks in the task set to use.
public CreateTaskSetRequest withTaskDefinition(String taskDefinition)
The task definition for the tasks in the task set to use.
taskDefinition - The task definition for the tasks in the task set to use.public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration - public NetworkConfiguration getNetworkConfiguration()
public CreateTaskSetRequest withNetworkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration - 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 will use. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType - The launch type that new tasks in the task set will use. For more information, see Amazon ECS Launch
        Types in the Amazon Elastic Container Service Developer Guide.LaunchTypepublic String getLaunchType()
The launch type that new tasks in the task set will use. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
LaunchTypepublic CreateTaskSetRequest withLaunchType(String launchType)
The launch type that new tasks in the task set will use. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType - The launch type that new tasks in the task set will use. For more information, see Amazon ECS Launch
        Types in the Amazon Elastic Container Service Developer Guide.LaunchTypepublic CreateTaskSetRequest withLaunchType(LaunchType launchType)
The launch type that new tasks in the task set will use. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.
launchType - The launch type that new tasks in the task set will use. For more information, see Amazon ECS Launch
        Types in the Amazon Elastic Container Service Developer Guide.LaunchTypepublic void setPlatformVersion(String platformVersion)
 The platform version that the tasks in the task set should use. A platform version is specified only for tasks
 using the Fargate launch type. If one isn't specified, the LATEST platform version is used by
 default.
 
platformVersion - The platform version that the tasks in the task set should use. A platform version is specified only for
        tasks using the Fargate launch type. If one isn't specified, the LATEST platform version is
        used by default.public String getPlatformVersion()
 The platform version that the tasks in the task set should use. A platform version is specified only for tasks
 using the Fargate launch type. If one isn't specified, the LATEST platform version is used by
 default.
 
LATEST platform version is
         used by default.public CreateTaskSetRequest withPlatformVersion(String platformVersion)
 The platform version that the tasks in the task set should use. A platform version is specified only for tasks
 using the Fargate launch type. If one isn't specified, the LATEST platform version is used by
 default.
 
platformVersion - The platform version that the tasks in the task set should use. A platform version is specified only for
        tasks using the Fargate launch type. If one isn't specified, the LATEST platform version is
        used by default.public void setScale(Scale scale)
scale - public Scale getScale()
public CreateTaskSetRequest withScale(Scale scale)
scale - public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 32
        ASCII characters are allowed.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.
public CreateTaskSetRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 32
        ASCII characters are allowed.public String toString()
toString in class ObjectObject.toString()public CreateTaskSetRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.