public class UpdateElasticIpRequest extends AmazonWebServiceRequest implements Serializable
UpdateElasticIp operation.
Updates a registered Elastic IP address's name. 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 .
| Constructor and Description |
|---|
UpdateElasticIpRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getElasticIp()
The address.
|
String |
getName()
The new name.
|
int |
hashCode() |
void |
setElasticIp(String elasticIp)
The address.
|
void |
setName(String name)
The new name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateElasticIpRequest |
withElasticIp(String elasticIp)
The address.
|
UpdateElasticIpRequest |
withName(String name)
The new name.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getElasticIp()
public void setElasticIp(String elasticIp)
elasticIp - The address.public UpdateElasticIpRequest withElasticIp(String elasticIp)
Returns a reference to this object so that method calls can be chained together.
elasticIp - The address.public String getName()
public void setName(String name)
name - The new name.public UpdateElasticIpRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
name - The new name.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.