@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Address extends Object implements Serializable, Cloneable
Describes an Elastic IP address, or a carrier IP address.
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
Address |
clone() |
boolean |
equals(Object obj) |
String |
getAllocationId()
The ID representing the allocation of the address.
|
String |
getAssociationId()
The ID representing the association of the address with an instance.
|
String |
getCarrierIp()
The carrier IP address associated.
|
String |
getCustomerOwnedIp()
The customer-owned IP address.
|
String |
getCustomerOwnedIpv4Pool()
The ID of the customer-owned address pool.
|
String |
getDomain()
The network (
vpc ). |
String |
getInstanceId()
The ID of the instance that the address is associated with (if any).
|
String |
getNetworkBorderGroup()
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services
advertises IP addresses.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getNetworkInterfaceOwnerId()
The ID of the Amazon Web Services account that owns the network interface.
|
String |
getPrivateIpAddress()
The private IP address associated with the Elastic IP address.
|
String |
getPublicIp()
The Elastic IP address.
|
String |
getPublicIpv4Pool()
The ID of an address pool.
|
List<Tag> |
getTags()
Any tags assigned to the Elastic IP address.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
The ID representing the allocation of the address.
|
void |
setAssociationId(String associationId)
The ID representing the association of the address with an instance.
|
void |
setCarrierIp(String carrierIp)
The carrier IP address associated.
|
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)
The network (
vpc ). |
void |
setDomain(String domain)
The network (
vpc ). |
void |
setInstanceId(String instanceId)
The ID of the instance that the address is associated with (if any).
|
void |
setNetworkBorderGroup(String networkBorderGroup)
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services
advertises IP addresses.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the Amazon Web Services account that owns the network interface.
|
void |
setPrivateIpAddress(String privateIpAddress)
The private IP address associated with the Elastic IP address.
|
void |
setPublicIp(String publicIp)
The Elastic IP address.
|
void |
setPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool.
|
void |
setTags(Collection<Tag> tags)
Any tags assigned to the Elastic IP address.
|
String |
toString()
Returns a string representation of this object.
|
Address |
withAllocationId(String allocationId)
The ID representing the allocation of the address.
|
Address |
withAssociationId(String associationId)
The ID representing the association of the address with an instance.
|
Address |
withCarrierIp(String carrierIp)
The carrier IP address associated.
|
Address |
withCustomerOwnedIp(String customerOwnedIp)
The customer-owned IP address.
|
Address |
withCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned address pool.
|
Address |
withDomain(DomainType domain)
The network (
vpc ). |
Address |
withDomain(String domain)
The network (
vpc ). |
Address |
withInstanceId(String instanceId)
The ID of the instance that the address is associated with (if any).
|
Address |
withNetworkBorderGroup(String networkBorderGroup)
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services
advertises IP addresses.
|
Address |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
Address |
withNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the Amazon Web Services account that owns the network interface.
|
Address |
withPrivateIpAddress(String privateIpAddress)
The private IP address associated with the Elastic IP address.
|
Address |
withPublicIp(String publicIp)
The Elastic IP address.
|
Address |
withPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool.
|
Address |
withTags(Collection<Tag> tags)
Any tags assigned to the Elastic IP address.
|
Address |
withTags(Tag... tags)
Any tags assigned to the Elastic IP address.
|
public void setInstanceId(String instanceId)
The ID of the instance that the address is associated with (if any).
instanceId
- The ID of the instance that the address is associated with (if any).public String getInstanceId()
The ID of the instance that the address is associated with (if any).
public Address withInstanceId(String instanceId)
The ID of the instance that the address is associated with (if any).
instanceId
- The ID of the instance that the address is associated with (if any).public void setPublicIp(String publicIp)
The Elastic IP address.
publicIp
- The Elastic IP address.public String getPublicIp()
The Elastic IP address.
public Address withPublicIp(String publicIp)
The Elastic IP address.
publicIp
- The Elastic IP address.public void setAllocationId(String allocationId)
The ID representing the allocation of the address.
allocationId
- The ID representing the allocation of the address.public String getAllocationId()
The ID representing the allocation of the address.
public Address withAllocationId(String allocationId)
The ID representing the allocation of the address.
allocationId
- The ID representing the allocation of the address.public void setAssociationId(String associationId)
The ID representing the association of the address with an instance.
associationId
- The ID representing the association of the address with an instance.public String getAssociationId()
The ID representing the association of the address with an instance.
public Address withAssociationId(String associationId)
The ID representing the association of the address with an instance.
associationId
- The ID representing the association of the address with an instance.public void setDomain(String domain)
The network (vpc
).
domain
- The network (vpc
).DomainType
public String getDomain()
The network (vpc
).
vpc
).DomainType
public Address withDomain(String domain)
The network (vpc
).
domain
- The network (vpc
).DomainType
public void setDomain(DomainType domain)
The network (vpc
).
domain
- The network (vpc
).DomainType
public Address withDomain(DomainType domain)
The network (vpc
).
domain
- The network (vpc
).DomainType
public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public Address withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the Amazon Web Services account that owns the network interface.
networkInterfaceOwnerId
- The ID of the Amazon Web Services account that owns the network interface.public String getNetworkInterfaceOwnerId()
The ID of the Amazon Web Services account that owns the network interface.
public Address withNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the Amazon Web Services account that owns the network interface.
networkInterfaceOwnerId
- The ID of the Amazon Web Services account that owns the network interface.public void setPrivateIpAddress(String privateIpAddress)
The private IP address associated with the Elastic IP address.
privateIpAddress
- The private IP address associated with the Elastic IP address.public String getPrivateIpAddress()
The private IP address associated with the Elastic IP address.
public Address withPrivateIpAddress(String privateIpAddress)
The private IP address associated with the Elastic IP address.
privateIpAddress
- The private IP address associated with the Elastic IP address.public List<Tag> getTags()
Any tags assigned to the Elastic IP address.
public void setTags(Collection<Tag> tags)
Any tags assigned to the Elastic IP address.
tags
- Any tags assigned to the Elastic IP address.public Address withTags(Tag... tags)
Any tags assigned to the Elastic IP address.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the Elastic IP address.public Address withTags(Collection<Tag> tags)
Any tags assigned to the Elastic IP address.
tags
- Any tags assigned to the Elastic IP address.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 Address withPublicIpv4Pool(String publicIpv4Pool)
The ID of an address pool.
publicIpv4Pool
- The ID of an address pool.public void setNetworkBorderGroup(String networkBorderGroup)
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
networkBorderGroup
- The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web
Services advertises IP addresses.public String getNetworkBorderGroup()
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
public Address withNetworkBorderGroup(String networkBorderGroup)
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
networkBorderGroup
- The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web
Services advertises IP addresses.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 Address 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 Address 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 associated. 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 associated. 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 associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
public Address withCarrierIp(String carrierIp)
The carrier IP address associated. 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 associated. 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()