public class AllocateAddressResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
AllocateAddressResult() |
| Modifier and Type | Method and Description |
|---|---|
AllocateAddressResult |
clone() |
boolean |
equals(Object obj) |
String |
getAllocationId()
[EC2-VPC] The ID that AWS assigns to represent the allocation of the
Elastic IP address for use with instances in a VPC.
|
String |
getDomain()
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (
standard) or instances in a VPC (
vpc). |
String |
getPublicIp()
The Elastic IP address.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
[EC2-VPC] The ID that AWS assigns to represent the allocation of the
Elastic IP address for use with instances in a VPC.
|
void |
setDomain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (
standard) or instances in a VPC (
vpc). |
void |
setDomain(String domain)
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (
standard) or instances in a VPC (
vpc). |
void |
setPublicIp(String publicIp)
The Elastic IP address.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AllocateAddressResult |
withAllocationId(String allocationId)
[EC2-VPC] The ID that AWS assigns to represent the allocation of the
Elastic IP address for use with instances in a VPC.
|
AllocateAddressResult |
withDomain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (
standard) or instances in a VPC (
vpc). |
AllocateAddressResult |
withDomain(String domain)
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (
standard) or instances in a VPC (
vpc). |
AllocateAddressResult |
withPublicIp(String publicIp)
The Elastic IP address.
|
public void setPublicIp(String publicIp)
The Elastic IP address.
publicIp - The Elastic IP address.public String getPublicIp()
The Elastic IP address.
public AllocateAddressResult withPublicIp(String publicIp)
The Elastic IP address.
publicIp - The Elastic IP address.public void setDomain(String domain)
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (standard) or instances in a VPC (
vpc).
domain - Indicates whether this Elastic IP address is for use with
instances in EC2-Classic (standard) or instances in a
VPC (vpc).DomainTypepublic String getDomain()
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (standard) or instances in a VPC (
vpc).
standard) or instances in
a VPC (vpc).DomainTypepublic AllocateAddressResult withDomain(String domain)
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (standard) or instances in a VPC (
vpc).
domain - Indicates whether this Elastic IP address is for use with
instances in EC2-Classic (standard) or instances in a
VPC (vpc).DomainTypepublic void setDomain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (standard) or instances in a VPC (
vpc).
domain - Indicates whether this Elastic IP address is for use with
instances in EC2-Classic (standard) or instances in a
VPC (vpc).DomainTypepublic AllocateAddressResult withDomain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (standard) or instances in a VPC (
vpc).
domain - Indicates whether this Elastic IP address is for use with
instances in EC2-Classic (standard) or instances in a
VPC (vpc).DomainTypepublic void setAllocationId(String allocationId)
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
allocationId - [EC2-VPC] The ID that AWS assigns to represent the allocation of
the Elastic IP address for use with instances in a VPC.public String getAllocationId()
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
public AllocateAddressResult withAllocationId(String allocationId)
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
allocationId - [EC2-VPC] The ID that AWS assigns to represent the allocation of
the Elastic IP address for use with instances in a VPC.public String toString()
toString in class ObjectObject.toString()public AllocateAddressResult clone()
Copyright © 2016. All rights reserved.