public class RegisterContainerInstanceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Attribute> |
attributes
The container instance attributes that this container instance supports.
|
private java.lang.String |
cluster
The short name or full Amazon Resource Name (ARN) of the cluster with
which to register your container instance.
|
private java.lang.String |
containerInstanceArn
The Amazon Resource Name (ARN) of the container instance (if it was
previously registered).
|
private java.lang.String |
instanceIdentityDocument
The instance identity document for the EC2 instance to register.
|
private java.lang.String |
instanceIdentityDocumentSignature
The instance identity document signature for the EC2 instance to
register.
|
private SdkInternalList<Resource> |
totalResources
The resources available on the instance.
|
private VersionInfo |
versionInfo
The version information for the Amazon ECS container agent and Docker
daemon running on the container instance.
|
NOOP
Constructor and Description |
---|
RegisterContainerInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterContainerInstanceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<Attribute> |
getAttributes()
The container instance attributes that this container instance supports.
|
java.lang.String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster with
which to register your container instance.
|
java.lang.String |
getContainerInstanceArn()
The Amazon Resource Name (ARN) of the container instance (if it was
previously registered).
|
java.lang.String |
getInstanceIdentityDocument()
The instance identity document for the EC2 instance to register.
|
java.lang.String |
getInstanceIdentityDocumentSignature()
The instance identity document signature for the EC2 instance to
register.
|
java.util.List<Resource> |
getTotalResources()
The resources available on the instance.
|
VersionInfo |
getVersionInfo()
The version information for the Amazon ECS container agent and Docker
daemon running on the container instance.
|
int |
hashCode() |
void |
setAttributes(java.util.Collection<Attribute> attributes)
The container instance attributes that this container instance supports.
|
void |
setCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster with
which to register your container instance.
|
void |
setContainerInstanceArn(java.lang.String containerInstanceArn)
The Amazon Resource Name (ARN) of the container instance (if it was
previously registered).
|
void |
setInstanceIdentityDocument(java.lang.String instanceIdentityDocument)
The instance identity document for the EC2 instance to register.
|
void |
setInstanceIdentityDocumentSignature(java.lang.String instanceIdentityDocumentSignature)
The instance identity document signature for the EC2 instance to
register.
|
void |
setTotalResources(java.util.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 running on the container instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterContainerInstanceRequest |
withAttributes(Attribute... attributes)
The container instance attributes that this container instance supports.
|
RegisterContainerInstanceRequest |
withAttributes(java.util.Collection<Attribute> attributes)
The container instance attributes that this container instance supports.
|
RegisterContainerInstanceRequest |
withCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster with
which to register your container instance.
|
RegisterContainerInstanceRequest |
withContainerInstanceArn(java.lang.String containerInstanceArn)
The Amazon Resource Name (ARN) of the container instance (if it was
previously registered).
|
RegisterContainerInstanceRequest |
withInstanceIdentityDocument(java.lang.String instanceIdentityDocument)
The instance identity document for the EC2 instance to register.
|
RegisterContainerInstanceRequest |
withInstanceIdentityDocumentSignature(java.lang.String instanceIdentityDocumentSignature)
The instance identity document signature for the EC2 instance to
register.
|
RegisterContainerInstanceRequest |
withTotalResources(java.util.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 running on the container instance.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String cluster
The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed..
private java.lang.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/
private java.lang.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/
private SdkInternalList<Resource> totalResources
The resources available on the instance.
private VersionInfo versionInfo
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
private java.lang.String containerInstanceArn
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
private SdkInternalList<Attribute> attributes
The container instance attributes that this container instance supports.
public void setCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. 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
with which to register your container instance. If you do not
specify a cluster, the default cluster is assumed..public java.lang.String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed..
public RegisterContainerInstanceRequest withCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. 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
with which to register your container instance. If you do not
specify a cluster, the default cluster is assumed..public void setInstanceIdentityDocument(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.util.List<Resource> getTotalResources()
The resources available on the instance.
public void setTotalResources(java.util.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(java.util.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 running on the container instance.
versionInfo
- The version information for the Amazon ECS container agent and
Docker daemon running on the container instance.public VersionInfo getVersionInfo()
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
public RegisterContainerInstanceRequest withVersionInfo(VersionInfo versionInfo)
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
versionInfo
- The version information for the Amazon ECS container agent and
Docker daemon running on the container instance.public void setContainerInstanceArn(java.lang.String containerInstanceArn)
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
containerInstanceArn
- The Amazon Resource Name (ARN) of the container instance (if it
was previously registered).public java.lang.String getContainerInstanceArn()
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
public RegisterContainerInstanceRequest withContainerInstanceArn(java.lang.String containerInstanceArn)
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
containerInstanceArn
- The Amazon Resource Name (ARN) of the container instance (if it
was previously registered).public java.util.List<Attribute> getAttributes()
The container instance attributes that this container instance supports.
public void setAttributes(java.util.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(java.util.Collection<Attribute> attributes)
The container instance attributes that this container instance supports.
attributes
- The container instance attributes that this container instance
supports.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RegisterContainerInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()