@Generated(value="software.amazon.awssdk:codegen") public final class CreateTaskSetRequest extends EcsRequest implements ToCopyableBuilder<CreateTaskSetRequest.Builder,CreateTaskSetRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTaskSetRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateTaskSetRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
cluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set
in.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalId()
An optional non-unique tag that identifies this task set in external systems.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LaunchType |
launchType()
The launch type that new tasks in the task set will use.
|
String |
launchTypeAsString()
The launch type that new tasks in the task set will use.
|
List<LoadBalancer> |
loadBalancers()
A load balancer object representing the load balancer to use with the task set.
|
NetworkConfiguration |
networkConfiguration()
Returns the value of the NetworkConfiguration property for this object.
|
String |
platformVersion()
The platform version that the tasks in the task set should use.
|
Scale |
scale()
Returns the value of the Scale property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTaskSetRequest.Builder> |
serializableBuilderClass() |
String |
service()
The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
|
List<ServiceRegistry> |
serviceRegistries()
The details of the service discovery registries to assign to this task set.
|
String |
taskDefinition()
The task definition for the tasks in the task set to use.
|
CreateTaskSetRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String service()
The short name or full Amazon Resource Name (ARN) of the service to create the task set in.
public String 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 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.
ECS_TASK_SET_EXTERNAL_ID AWS Cloud Map attribute set to the provided value.public String taskDefinition()
The task definition for the tasks in the task set to use.
public NetworkConfiguration networkConfiguration()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<ServiceRegistry> serviceRegistries()
The details of the service discovery registries to assign to this task set. For more information, see Service Discovery.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
If the service returns an enum value that is not available in the current SDK version, launchType will
return LaunchType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
launchTypeAsString().
LaunchTypepublic String launchTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, launchType will
return LaunchType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
launchTypeAsString().
LaunchTypepublic 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.
LATEST platform version is
used by default.public Scale scale()
public String clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 32 ASCII characters are allowed.
public CreateTaskSetRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateTaskSetRequest.Builder,CreateTaskSetRequest>toBuilder in class EcsRequestpublic static CreateTaskSetRequest.Builder builder()
public static Class<? extends CreateTaskSetRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.