|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.AllocateAddressResult
public class AllocateAddressResult
Constructor Summary | |
---|---|
AllocateAddressResult()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AllocateAddressResult()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |