@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterContainerInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterContainerInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterContainerInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Attribute> |
getAttributes()
The container instance attributes that this container instance supports.
|
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with.
|
String |
getContainerInstanceArn()
The ARN of the container instance (if it was previously registered).
|
String |
getInstanceIdentityDocument()
The instance identity document for the EC2 instance to register.
|
String |
getInstanceIdentityDocumentSignature()
The instance identity document signature for the EC2 instance to register.
|
List<PlatformDevice> |
getPlatformDevices()
The devices that are available on the container instance.
|
List<Tag> |
getTags()
The metadata that you apply to the container instance to help you categorize and organize them.
|
List<Resource> |
getTotalResources()
The resources available on the instance.
|
VersionInfo |
getVersionInfo()
The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.
|
int |
hashCode() |
void |
setAttributes(Collection<Attribute> attributes)
The container instance attributes that this container instance supports.
|
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with.
|
void |
setContainerInstanceArn(String containerInstanceArn)
The ARN of the container instance (if it was previously registered).
|
void |
setInstanceIdentityDocument(String instanceIdentityDocument)
The instance identity document for the EC2 instance to register.
|
void |
setInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature)
The instance identity document signature for the EC2 instance to register.
|
void |
setPlatformDevices(Collection<PlatformDevice> platformDevices)
The devices that are available on the container instance.
|
void |
setTags(Collection<Tag> tags)
The metadata that you apply to the container instance to help you categorize and organize them.
|
void |
setTotalResources(Collection<Resource> totalResources)
The resources available on the instance.
|
void |
setVersionInfo(VersionInfo versionInfo)
The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.
|
String |
toString()
Returns a string representation of this object.
|
RegisterContainerInstanceRequest |
withAttributes(Attribute... attributes)
The container instance attributes that this container instance supports.
|
RegisterContainerInstanceRequest |
withAttributes(Collection<Attribute> attributes)
The container instance attributes that this container instance supports.
|
RegisterContainerInstanceRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with.
|
RegisterContainerInstanceRequest |
withContainerInstanceArn(String containerInstanceArn)
The ARN of the container instance (if it was previously registered).
|
RegisterContainerInstanceRequest |
withInstanceIdentityDocument(String instanceIdentityDocument)
The instance identity document for the EC2 instance to register.
|
RegisterContainerInstanceRequest |
withInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature)
The instance identity document signature for the EC2 instance to register.
|
RegisterContainerInstanceRequest |
withPlatformDevices(Collection<PlatformDevice> platformDevices)
The devices that are available on the container instance.
|
RegisterContainerInstanceRequest |
withPlatformDevices(PlatformDevice... platformDevices)
The devices that are available on the container instance.
|
RegisterContainerInstanceRequest |
withTags(Collection<Tag> tags)
The metadata that you apply to the container instance to help you categorize and organize them.
|
RegisterContainerInstanceRequest |
withTags(Tag... tags)
The metadata that you apply to the container instance to help you categorize and organize them.
|
RegisterContainerInstanceRequest |
withTotalResources(Collection<Resource> totalResources)
The resources available on the instance.
|
RegisterContainerInstanceRequest |
withTotalResources(Resource... totalResources)
The resources available on the instance.
|
RegisterContainerInstanceRequest |
withVersionInfo(VersionInfo versionInfo)
The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.
|
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 setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with.
If you do not specify a cluster, the default cluster is assumed.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with. If you do not specify a cluster, the default cluster is assumed.
public RegisterContainerInstanceRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with.
If you do not specify a cluster, the default cluster is assumed.public void setInstanceIdentityDocument(String instanceIdentityDocument)
The instance identity document for the EC2 instance to register. This document can be found by running the
following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/document/
instanceIdentityDocument
- The instance identity document for the EC2 instance to register. This document can be found by running the
following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/document/
public String getInstanceIdentityDocument()
The instance identity document for the EC2 instance to register. This document can be found by running the
following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/document/
curl http://169.254.169.254/latest/dynamic/instance-identity/document/
public RegisterContainerInstanceRequest withInstanceIdentityDocument(String instanceIdentityDocument)
The instance identity document for the EC2 instance to register. This document can be found by running the
following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/document/
instanceIdentityDocument
- The instance identity document for the EC2 instance to register. This document can be found by running the
following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/document/
public void setInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature)
The instance identity document signature for the EC2 instance to register. This signature can be found by running
the following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/signature/
instanceIdentityDocumentSignature
- The instance identity document signature for the EC2 instance to register. This signature can be found by
running the following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/signature/
public String getInstanceIdentityDocumentSignature()
The instance identity document signature for the EC2 instance to register. This signature can be found by running
the following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/signature/
curl http://169.254.169.254/latest/dynamic/instance-identity/signature/
public RegisterContainerInstanceRequest withInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature)
The instance identity document signature for the EC2 instance to register. This signature can be found by running
the following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/signature/
instanceIdentityDocumentSignature
- The instance identity document signature for the EC2 instance to register. This signature can be found by
running the following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/signature/
public List<Resource> getTotalResources()
The resources available on the instance.
public void setTotalResources(Collection<Resource> totalResources)
The resources available on the instance.
totalResources
- The resources available on the instance.public RegisterContainerInstanceRequest withTotalResources(Resource... totalResources)
The resources available on the instance.
NOTE: This method appends the values to the existing list (if any). Use
setTotalResources(java.util.Collection)
or withTotalResources(java.util.Collection)
if you want
to override the existing values.
totalResources
- The resources available on the instance.public RegisterContainerInstanceRequest withTotalResources(Collection<Resource> totalResources)
The resources available on the instance.
totalResources
- The resources available on the instance.public void setVersionInfo(VersionInfo versionInfo)
The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.
versionInfo
- The version information for the Amazon ECS container agent and Docker daemon that runs on the container
instance.public VersionInfo getVersionInfo()
The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.
public RegisterContainerInstanceRequest withVersionInfo(VersionInfo versionInfo)
The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.
versionInfo
- The version information for the Amazon ECS container agent and Docker daemon that runs on the container
instance.public void setContainerInstanceArn(String containerInstanceArn)
The ARN of the container instance (if it was previously registered).
containerInstanceArn
- The ARN of the container instance (if it was previously registered).public String getContainerInstanceArn()
The ARN of the container instance (if it was previously registered).
public RegisterContainerInstanceRequest withContainerInstanceArn(String containerInstanceArn)
The ARN of the container instance (if it was previously registered).
containerInstanceArn
- The ARN of the container instance (if it was previously registered).public List<Attribute> getAttributes()
The container instance attributes that this container instance supports.
public void setAttributes(Collection<Attribute> attributes)
The container instance attributes that this container instance supports.
attributes
- The container instance attributes that this container instance supports.public RegisterContainerInstanceRequest withAttributes(Attribute... attributes)
The container instance attributes that this container instance supports.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The container instance attributes that this container instance supports.public RegisterContainerInstanceRequest withAttributes(Collection<Attribute> attributes)
The container instance attributes that this container instance supports.
attributes
- The container instance attributes that this container instance supports.public List<PlatformDevice> getPlatformDevices()
The devices that are available on the container instance. The only supported device type is a GPU.
public void setPlatformDevices(Collection<PlatformDevice> platformDevices)
The devices that are available on the container instance. The only supported device type is a GPU.
platformDevices
- The devices that are available on the container instance. The only supported device type is a GPU.public RegisterContainerInstanceRequest withPlatformDevices(PlatformDevice... platformDevices)
The devices that are available on the container instance. The only supported device type is a GPU.
NOTE: This method appends the values to the existing list (if any). Use
setPlatformDevices(java.util.Collection)
or withPlatformDevices(java.util.Collection)
if you
want to override the existing values.
platformDevices
- The devices that are available on the container instance. The only supported device type is a GPU.public RegisterContainerInstanceRequest withPlatformDevices(Collection<PlatformDevice> platformDevices)
The devices that are available on the container instance. The only supported device type is a GPU.
platformDevices
- The devices that are available on the container instance. The only supported device type is a GPU.public List<Tag> getTags()
The metadata that you apply to the container instance to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
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 container instance to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
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 container instance to help you categorize and organize them. Each tag
consists of a key and an optional value. You define both.
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 RegisterContainerInstanceRequest withTags(Tag... tags)
The metadata that you apply to the container instance to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
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 container instance to help you categorize and organize them. Each tag
consists of a key and an optional value. You define both.
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 RegisterContainerInstanceRequest withTags(Collection<Tag> tags)
The metadata that you apply to the container instance to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.
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 container instance to help you categorize and organize them. Each tag
consists of a key and an optional value. You define both.
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 RegisterContainerInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()