Class RegisterContainerInstanceRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe container instance attributes that this container instance supports.The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance.The Amazon Resource Name (ARN) of the container instance (if it was previously registered).The instance identity document for the EC2 instance to register.The instance identity document signature for the EC2 instance to register.The resources available on the instance.The version information for the Amazon ECS container agent and Docker daemon running on the container instance.inthashCode()voidsetAttributes(Collection<Attribute> attributes) The container instance attributes that this container instance supports.voidsetCluster(String cluster) The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance.voidsetContainerInstanceArn(String containerInstanceArn) The Amazon Resource Name (ARN) of the container instance (if it was previously registered).voidsetInstanceIdentityDocument(String instanceIdentityDocument) The instance identity document for the EC2 instance to register.voidsetInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature) The instance identity document signature for the EC2 instance to register.voidsetTotalResources(Collection<Resource> totalResources) The resources available on the instance.voidsetVersionInfo(VersionInfo versionInfo) The version information for the Amazon ECS container agent and Docker daemon running on the container instance.toString()Returns a string representation of this object; useful for testing and debugging.withAttributes(Attribute... attributes) The container instance attributes that this container instance supports.withAttributes(Collection<Attribute> attributes) The container instance attributes that this container instance supports.withCluster(String cluster) The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance.withContainerInstanceArn(String containerInstanceArn) The Amazon Resource Name (ARN) of the container instance (if it was previously registered).withInstanceIdentityDocument(String instanceIdentityDocument) The instance identity document for the EC2 instance to register.withInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature) The instance identity document signature for the EC2 instance to register.withTotalResources(Resource... totalResources) The resources available on the instance.withTotalResources(Collection<Resource> totalResources) The resources available on the instance.withVersionInfo(VersionInfo versionInfo) The version information for the Amazon ECS container agent and Docker daemon running on the container instance.Methods inherited from class AmazonWebServiceRequest
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
-
Constructor Details
-
RegisterContainerInstanceRequest
public RegisterContainerInstanceRequest()
-
-
Method Details
-
setCluster
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..
- Parameters:
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..
-
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..
- Returns:
- 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..
-
withCluster
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..
- Parameters:
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..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceIdentityDocument
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/- Parameters:
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/
-
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/- Returns:
- 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/
-
withInstanceIdentityDocument
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/- Parameters:
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/- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceIdentityDocumentSignature
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/- Parameters:
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/
-
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/- Returns:
- 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/
-
withInstanceIdentityDocumentSignature
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/- Parameters:
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/- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTotalResources
-
setTotalResources
The resources available on the instance.
- Parameters:
totalResources- The resources available on the instance.
-
withTotalResources
The resources available on the instance.
NOTE: This method appends the values to the existing list (if any). Use
setTotalResources(java.util.Collection)orwithTotalResources(java.util.Collection)if you want to override the existing values.- Parameters:
totalResources- The resources available on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTotalResources
The resources available on the instance.
- Parameters:
totalResources- The resources available on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersionInfo
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
- Parameters:
versionInfo- The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
-
getVersionInfo
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
- Returns:
- The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
-
withVersionInfo
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
- Parameters:
versionInfo- The version information for the Amazon ECS container agent and Docker daemon running on the container instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setContainerInstanceArn
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
- Parameters:
containerInstanceArn- The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
-
getContainerInstanceArn
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
- Returns:
- The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
-
withContainerInstanceArn
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
- Parameters:
containerInstanceArn- The Amazon Resource Name (ARN) of the container instance (if it was previously registered).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
-
setAttributes
The container instance attributes that this container instance supports.
- Parameters:
attributes- The container instance attributes that this container instance supports.
-
withAttributes
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)orwithAttributes(java.util.Collection)if you want to override the existing values.- Parameters:
attributes- The container instance attributes that this container instance supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
The container instance attributes that this container instance supports.
- Parameters:
attributes- The container instance attributes that this container instance supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-