Class AllocateAddressResult
- All Implemented Interfaces:
Serializable,Cloneable
Contains the output of AllocateAddress.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()boolean[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).The Elastic IP address.inthashCode()voidsetAllocationId(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.voidsetDomain(DomainType domain) Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).voidIndicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).voidsetPublicIp(String publicIp) The Elastic IP address.toString()Returns a string representation of this object; useful for testing and debugging.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.withDomain(DomainType domain) Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).withDomain(String domain) Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).withPublicIp(String publicIp) The Elastic IP address.
-
Constructor Details
-
AllocateAddressResult
public AllocateAddressResult()
-
-
Method Details
-
setPublicIp
The Elastic IP address.
- Parameters:
publicIp- The Elastic IP address.
-
getPublicIp
The Elastic IP address.
- Returns:
- The Elastic IP address.
-
withPublicIp
The Elastic IP address.
- Parameters:
publicIp- The Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDomain
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard) or instances in a VPC (vpc).- Parameters:
domain- Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).- See Also:
-
getDomain
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard) or instances in a VPC (vpc).- Returns:
- Indicates whether this Elastic IP address is for use with
instances in EC2-Classic (
standard) or instances in a VPC (vpc). - See Also:
-
withDomain
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard) or instances in a VPC (vpc).- Parameters:
domain- Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setDomain
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard) or instances in a VPC (vpc).- Parameters:
domain- Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).- See Also:
-
withDomain
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard) or instances in a VPC (vpc).- Parameters:
domain- Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAllocationId
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
- Parameters:
allocationId- [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
-
getAllocationId
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
- Returns:
- [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
-
withAllocationId
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
- Parameters:
allocationId- [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-