@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddressAttribute extends Object implements Serializable, Cloneable
The attributes associated with an Elastic IP address.
Constructor and Description |
---|
AddressAttribute() |
Modifier and Type | Method and Description |
---|---|
AddressAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getAllocationId()
[EC2-VPC] The allocation ID.
|
String |
getPtrRecord()
The pointer (PTR) record for the IP address.
|
PtrUpdateStatus |
getPtrRecordUpdate()
The updated PTR record for the IP address.
|
String |
getPublicIp()
The public IP address.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
[EC2-VPC] The allocation ID.
|
void |
setPtrRecord(String ptrRecord)
The pointer (PTR) record for the IP address.
|
void |
setPtrRecordUpdate(PtrUpdateStatus ptrRecordUpdate)
The updated PTR record for the IP address.
|
void |
setPublicIp(String publicIp)
The public IP address.
|
String |
toString()
Returns a string representation of this object.
|
AddressAttribute |
withAllocationId(String allocationId)
[EC2-VPC] The allocation ID.
|
AddressAttribute |
withPtrRecord(String ptrRecord)
The pointer (PTR) record for the IP address.
|
AddressAttribute |
withPtrRecordUpdate(PtrUpdateStatus ptrRecordUpdate)
The updated PTR record for the IP address.
|
AddressAttribute |
withPublicIp(String publicIp)
The public IP address.
|
public void setPublicIp(String publicIp)
The public IP address.
publicIp
- The public IP address.public String getPublicIp()
The public IP address.
public AddressAttribute withPublicIp(String publicIp)
The public IP address.
publicIp
- The public IP address.public void setAllocationId(String allocationId)
[EC2-VPC] The allocation ID.
allocationId
- [EC2-VPC] The allocation ID.public String getAllocationId()
[EC2-VPC] The allocation ID.
public AddressAttribute withAllocationId(String allocationId)
[EC2-VPC] The allocation ID.
allocationId
- [EC2-VPC] The allocation ID.public void setPtrRecord(String ptrRecord)
The pointer (PTR) record for the IP address.
ptrRecord
- The pointer (PTR) record for the IP address.public String getPtrRecord()
The pointer (PTR) record for the IP address.
public AddressAttribute withPtrRecord(String ptrRecord)
The pointer (PTR) record for the IP address.
ptrRecord
- The pointer (PTR) record for the IP address.public void setPtrRecordUpdate(PtrUpdateStatus ptrRecordUpdate)
The updated PTR record for the IP address.
ptrRecordUpdate
- The updated PTR record for the IP address.public PtrUpdateStatus getPtrRecordUpdate()
The updated PTR record for the IP address.
public AddressAttribute withPtrRecordUpdate(PtrUpdateStatus ptrRecordUpdate)
The updated PTR record for the IP address.
ptrRecordUpdate
- The updated PTR record for the IP address.public String toString()
toString
in class Object
Object.toString()
public AddressAttribute clone()