|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.AttachInstancesRequest
public class AttachInstancesRequest
Container for the parameters to the AttachInstances operation
.
Attaches one or more Amazon EC2 instances to an existing Auto Scaling group. After the instance(s) is attached, it becomes a part of the Auto Scaling group.
For more information, see Attach Amazon EC2 Instance(s) to Your Existing Auto Scaling Group in the Auto Scaling Developer Guide .
AmazonAutoScaling.attachInstances(AttachInstancesRequest)
,
Serialized FormConstructor Summary | |
---|---|
AttachInstancesRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAutoScalingGroupName()
The name of the Auto Scaling group to which to attach the specified instance(s). |
java.util.List<java.lang.String> |
getInstanceIds()
One or more IDs of the Amazon EC2 instances to attach to the specified Auto Scaling group. |
int |
hashCode()
|
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group to which to attach the specified instance(s). |
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
One or more IDs of the Amazon EC2 instances to attach to the specified Auto Scaling group. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttachInstancesRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group to which to attach the specified instance(s). |
AttachInstancesRequest |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
One or more IDs of the Amazon EC2 instances to attach to the specified Auto Scaling group. |
AttachInstancesRequest |
withInstanceIds(java.lang.String... instanceIds)
One or more IDs of the Amazon EC2 instances to attach to the specified Auto Scaling group. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttachInstancesRequest()
Method Detail |
---|
public java.util.List<java.lang.String> getInstanceIds()
public void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
instanceIds
- One or more IDs of the Amazon EC2 instances to attach to the specified
Auto Scaling group. You must specify at least one instance ID.public AttachInstancesRequest withInstanceIds(java.lang.String... instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds
- One or more IDs of the Amazon EC2 instances to attach to the specified
Auto Scaling group. You must specify at least one instance ID.
public AttachInstancesRequest withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds
- One or more IDs of the Amazon EC2 instances to attach to the specified
Auto Scaling group. You must specify at least one instance ID.
public java.lang.String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group to which to attach the specified
instance(s).public AttachInstancesRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group to which to attach the specified
instance(s).
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |