@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 with which to register your container instance.
|
String |
getContainerInstanceArn()
The Amazon Resource Name (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<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(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 with which to register your container instance.
|
void |
setContainerInstanceArn(String containerInstanceArn)
The Amazon Resource Name (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 |
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 running on the container instance.
|
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(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 with which to register your container instance.
|
RegisterContainerInstanceRequest |
withContainerInstanceArn(String containerInstanceArn)
The Amazon Resource Name (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 |
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 running 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 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 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(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(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 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(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 String getContainerInstanceArn()
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
public RegisterContainerInstanceRequest withContainerInstanceArn(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 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 String toString()
toString
in class Object
Object.toString()
public RegisterContainerInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.