public class RegisterContainerInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RegisterContainerInstance operation
.
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Registers an Amazon EC2 instance into the specified cluster. This instance will become available to place containers on.
NOOP
Constructor and Description |
---|
RegisterContainerInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterContainerInstanceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
you want to register your container instance with.
|
String |
getInstanceIdentityDocument() |
String |
getInstanceIdentityDocumentSignature() |
List<Resource> |
getTotalResources() |
int |
hashCode() |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
you want to register your container instance with.
|
void |
setInstanceIdentityDocument(String instanceIdentityDocument) |
void |
setInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature) |
void |
setTotalResources(Collection<Resource> totalResources) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterContainerInstanceRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
you want to register your container instance with.
|
RegisterContainerInstanceRequest |
withInstanceIdentityDocument(String instanceIdentityDocument)
Returns a reference to this object so that method calls can be chained together.
|
RegisterContainerInstanceRequest |
withInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature)
Returns a reference to this object so that method calls can be chained together.
|
RegisterContainerInstanceRequest |
withTotalResources(Collection<Resource> totalResources)
Returns a reference to this object so that method calls can be chained together.
|
RegisterContainerInstanceRequest |
withTotalResources(Resource... totalResources)
Returns a reference to this object so that method calls can be chained together.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getCluster()
public void setCluster(String cluster)
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that
you want to register your container instance with. If you do not
specify a cluster, the default cluster is assumed..public RegisterContainerInstanceRequest withCluster(String cluster)
Returns a reference to this object so that method calls can be chained together.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that
you want to register your container instance with. If you do not
specify a cluster, the default cluster is assumed..public String getInstanceIdentityDocument()
public void setInstanceIdentityDocument(String instanceIdentityDocument)
instanceIdentityDocument
- public RegisterContainerInstanceRequest withInstanceIdentityDocument(String instanceIdentityDocument)
Returns a reference to this object so that method calls can be chained together.
instanceIdentityDocument
- public String getInstanceIdentityDocumentSignature()
public void setInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature)
instanceIdentityDocumentSignature
- public RegisterContainerInstanceRequest withInstanceIdentityDocumentSignature(String instanceIdentityDocumentSignature)
Returns a reference to this object so that method calls can be chained together.
instanceIdentityDocumentSignature
- public void setTotalResources(Collection<Resource> totalResources)
totalResources
- public RegisterContainerInstanceRequest withTotalResources(Resource... totalResources)
Returns a reference to this object so that method calls can be chained together.
totalResources
- public RegisterContainerInstanceRequest withTotalResources(Collection<Resource> totalResources)
Returns a reference to this object so that method calls can be chained together.
totalResources
- public String toString()
toString
in class Object
Object.toString()
public RegisterContainerInstanceRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.