@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllocateAddressResult extends AmazonWebServiceResult<ResponseMetadata> 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 |
getCarrierIp()
The carrier IP address.
|
String |
getCustomerOwnedIp()
The customer-owned IP address.
|
String |
getCustomerOwnedIpv4Pool()
The ID of the customer-owned address pool.
|
String |
getDomain()
Indicates whether the Elastic IP address is for use with instances in a VPC (
vpc ) or instances in
EC2-Classic (standard ). |
String |
getNetworkBorderGroup()
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
|
String |
getPublicIp()
The Elastic IP address.
|
String |
getPublicIpv4Pool()
The ID of an address pool.
|
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 |
setCarrierIp(String carrierIp)
The carrier IP address.
|
void |
setCustomerOwnedIp(String customerOwnedIp)
The customer-owned IP address.
|
void |
setCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned address pool.
|
void |
setDomain(DomainType domain)
Indicates whether the Elastic IP address is for use with instances in a VPC (
vpc ) or instances in
EC2-Classic (standard ). |
void |
setDomain(String domain)
Indicates whether the Elastic IP address is for use with instances in a VPC (
vpc ) or instances in
EC2-Classic (standard ). |
void |
setNetworkBorderGroup(String networkBorderGroup)
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
|
void |
setPublicIp(String publicIp)
The Elastic IP address.
|
void |
setPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withCarrierIp(String carrierIp)
The carrier IP address.
|
AllocateAddressResult |
withCustomerOwnedIp(String customerOwnedIp)
The customer-owned IP address.
|
AllocateAddressResult |
withCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned address pool.
|
AllocateAddressResult |
withDomain(DomainType domain)
Indicates whether the Elastic IP address is for use with instances in a VPC (
vpc ) or instances in
EC2-Classic (standard ). |
AllocateAddressResult |
withDomain(String domain)
Indicates whether the Elastic IP address is for use with instances in a VPC (
vpc ) or instances in
EC2-Classic (standard ). |
AllocateAddressResult |
withNetworkBorderGroup(String networkBorderGroup)
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
|
AllocateAddressResult |
withPublicIp(String publicIp)
The Elastic IP address.
|
AllocateAddressResult |
withPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 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 void setPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool.
publicIpv4Pool
- The ID of an address pool.public String getPublicIpv4Pool()
The ID of an address pool.
public AllocateAddressResult withPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool.
publicIpv4Pool
- The ID of an address pool.public void setNetworkBorderGroup(String networkBorderGroup)
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
networkBorderGroup
- The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.public String getNetworkBorderGroup()
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
public AllocateAddressResult withNetworkBorderGroup(String networkBorderGroup)
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
networkBorderGroup
- The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.public void setDomain(String domain)
Indicates whether the Elastic IP address is for use with instances in a VPC (vpc
) or instances in
EC2-Classic (standard
).
domain
- Indicates whether the Elastic IP address is for use with instances in a VPC (vpc
) or
instances in EC2-Classic (standard
).DomainType
public String getDomain()
Indicates whether the Elastic IP address is for use with instances in a VPC (vpc
) or instances in
EC2-Classic (standard
).
vpc
) or
instances in EC2-Classic (standard
).DomainType
public AllocateAddressResult withDomain(String domain)
Indicates whether the Elastic IP address is for use with instances in a VPC (vpc
) or instances in
EC2-Classic (standard
).
domain
- Indicates whether the Elastic IP address is for use with instances in a VPC (vpc
) or
instances in EC2-Classic (standard
).DomainType
public void setDomain(DomainType domain)
Indicates whether the Elastic IP address is for use with instances in a VPC (vpc
) or instances in
EC2-Classic (standard
).
domain
- Indicates whether the Elastic IP address is for use with instances in a VPC (vpc
) or
instances in EC2-Classic (standard
).DomainType
public AllocateAddressResult withDomain(DomainType domain)
Indicates whether the Elastic IP address is for use with instances in a VPC (vpc
) or instances in
EC2-Classic (standard
).
domain
- Indicates whether the Elastic IP address is for use with instances in a VPC (vpc
) or
instances in EC2-Classic (standard
).DomainType
public void setCustomerOwnedIp(String customerOwnedIp)
The customer-owned IP address.
customerOwnedIp
- The customer-owned IP address.public String getCustomerOwnedIp()
The customer-owned IP address.
public AllocateAddressResult withCustomerOwnedIp(String customerOwnedIp)
The customer-owned IP address.
customerOwnedIp
- The customer-owned IP address.public void setCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned address pool.
customerOwnedIpv4Pool
- The ID of the customer-owned address pool.public String getCustomerOwnedIpv4Pool()
The ID of the customer-owned address pool.
public AllocateAddressResult withCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned address pool.
customerOwnedIpv4Pool
- The ID of the customer-owned address pool.public void setCarrierIp(String carrierIp)
The carrier IP address. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
carrierIp
- The carrier IP address. This option is only available for network interfaces which reside in a subnet in a
Wavelength Zone (for example an EC2 instance).public String getCarrierIp()
The carrier IP address. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
public AllocateAddressResult withCarrierIp(String carrierIp)
The carrier IP address. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
carrierIp
- The carrier IP address. This option is only available for network interfaces which reside in a subnet in a
Wavelength Zone (for example an EC2 instance).public String toString()
toString
in class Object
Object.toString()
public AllocateAddressResult clone()
Copyright © 2020. All rights reserved.