@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticIp extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Elastic IP address.
Constructor and Description |
---|
ElasticIp() |
Modifier and Type | Method and Description |
---|---|
ElasticIp |
clone() |
boolean |
equals(Object obj) |
String |
getDomain()
The domain.
|
String |
getInstanceId()
The ID of the instance that the address is attached to.
|
String |
getIp()
The IP address.
|
String |
getName()
The name.
|
String |
getRegion()
The AWS region.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDomain(String domain)
The domain.
|
void |
setInstanceId(String instanceId)
The ID of the instance that the address is attached to.
|
void |
setIp(String ip)
The IP address.
|
void |
setName(String name)
The name.
|
void |
setRegion(String region)
The AWS region.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ElasticIp |
withDomain(String domain)
The domain.
|
ElasticIp |
withInstanceId(String instanceId)
The ID of the instance that the address is attached to.
|
ElasticIp |
withIp(String ip)
The IP address.
|
ElasticIp |
withName(String name)
The name.
|
ElasticIp |
withRegion(String region)
The AWS region.
|
public void setIp(String ip)
The IP address.
ip
- The IP address.public String getIp()
The IP address.
public ElasticIp withIp(String ip)
The IP address.
ip
- The IP address.public void setName(String name)
The name.
name
- The name.public String getName()
The name.
public ElasticIp withName(String name)
The name.
name
- The name.public void setDomain(String domain)
The domain.
domain
- The domain.public String getDomain()
The domain.
public ElasticIp withDomain(String domain)
The domain.
domain
- The domain.public void setRegion(String region)
The AWS region. For more information, see Regions and Endpoints.
region
- The AWS region. For more information, see Regions and Endpoints.public String getRegion()
The AWS region. For more information, see Regions and Endpoints.
public ElasticIp withRegion(String region)
The AWS region. For more information, see Regions and Endpoints.
region
- The AWS region. For more information, see Regions and Endpoints.public void setInstanceId(String instanceId)
The ID of the instance that the address is attached to.
instanceId
- The ID of the instance that the address is attached to.public String getInstanceId()
The ID of the instance that the address is attached to.
public ElasticIp withInstanceId(String instanceId)
The ID of the instance that the address is attached to.
instanceId
- The ID of the instance that the address is attached to.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.