public class ElasticIp extends Object implements Serializable
Describes an Elastic IP address.
Constructor and Description |
---|
ElasticIp() |
Modifier and Type | Method and Description |
---|---|
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 |
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 String getIp()
public void setIp(String ip)
ip
- The IP address.public ElasticIp withIp(String ip)
Returns a reference to this object so that method calls can be chained together.
ip
- The IP address.public String getName()
public void setName(String name)
name
- The name.public ElasticIp withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name.public String getDomain()
public void setDomain(String domain)
domain
- The domain.public ElasticIp withDomain(String domain)
Returns a reference to this object so that method calls can be chained together.
domain
- The domain.public String getRegion()
public void setRegion(String region)
region
- The AWS region. For more information, see Regions
and Endpoints.public ElasticIp withRegion(String region)
Returns a reference to this object so that method calls can be chained together.
region
- The AWS region. For more information, see Regions
and Endpoints.public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The ID of the instance that the address is attached to.public ElasticIp withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance that the address is attached to.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.