public class AllocateAddressResult extends Object implements Serializable
Constructor and Description |
---|
AllocateAddressResult() |
Modifier and Type | Method and Description |
---|---|
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 String getPublicIp()
public void setPublicIp(String publicIp)
publicIp
- The Elastic IP address.public AllocateAddressResult withPublicIp(String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp
- The Elastic IP address.public String getDomain()
standard
) or instances in a VPC
(vpc
).
Constraints:
Allowed Values: vpc, standard
standard
) or instances in a VPC
(vpc
).DomainType
public void setDomain(String domain)
standard
) or instances in a VPC
(vpc
).
Constraints:
Allowed Values: vpc, standard
domain
- Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (standard
) or instances in a VPC
(vpc
).DomainType
public AllocateAddressResult withDomain(String domain)
standard
) or instances in a VPC
(vpc
).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: vpc, standard
domain
- Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (standard
) or instances in a VPC
(vpc
).DomainType
public void setDomain(DomainType domain)
standard
) or instances in a VPC
(vpc
).
Constraints:
Allowed Values: vpc, standard
domain
- Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (standard
) or instances in a VPC
(vpc
).DomainType
public AllocateAddressResult withDomain(DomainType domain)
standard
) or instances in a VPC
(vpc
).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: vpc, standard
domain
- Indicates whether this Elastic IP address is for use with instances in
EC2-Classic (standard
) or instances in a VPC
(vpc
).DomainType
public String getAllocationId()
public void setAllocationId(String allocationId)
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 AllocateAddressResult withAllocationId(String allocationId)
Returns a reference to this object so that method calls can be chained together.
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 Object
Object.toString()
Copyright © 2014. All rights reserved.