public class AssociateElasticIpRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
AssociateElasticIp operation
.
Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management .
Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
NOOP
Constructor and Description |
---|
AssociateElasticIpRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateElasticIpRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getElasticIp()
The Elastic IP address.
|
String |
getInstanceId()
The instance ID.
|
int |
hashCode() |
void |
setElasticIp(String elasticIp)
The Elastic IP address.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateElasticIpRequest |
withElasticIp(String elasticIp)
The Elastic IP address.
|
AssociateElasticIpRequest |
withInstanceId(String instanceId)
The instance ID.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getElasticIp()
public void setElasticIp(String elasticIp)
elasticIp
- The Elastic IP address.public AssociateElasticIpRequest withElasticIp(String elasticIp)
Returns a reference to this object so that method calls can be chained together.
elasticIp
- The Elastic IP address.public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public AssociateElasticIpRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance ID.public String toString()
toString
in class Object
Object.toString()
public AssociateElasticIpRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.