@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Address extends Object implements Serializable, Cloneable
Describes an Elastic 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 for use with EC2-VPC.
|
String |
getAssociationId()
The ID representing the association of the address with an instance 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 |
getInstanceId()
The ID of the instance that the address is associated with (if any).
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getNetworkInterfaceOwnerId()
The ID of the AWS account that owns the network interface.
|
String |
getPrivateIpAddress()
The private IP address associated with the Elastic IP address.
|
String |
getPublicIp()
The Elastic IP address.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
The ID representing the allocation of the address for use with EC2-VPC.
|
void |
setAssociationId(String associationId)
The ID representing the association of the address with an instance 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 |
setInstanceId(String instanceId)
The ID of the instance that the address is associated with (if any).
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the AWS 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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Address |
withAllocationId(String allocationId)
The ID representing the allocation of the address for use with EC2-VPC.
|
Address |
withAssociationId(String associationId)
The ID representing the association of the address with an instance in a VPC.
|
Address |
withDomain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard ) or
instances in a VPC (vpc ). |
Address |
withDomain(String domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard ) or
instances in a VPC (vpc ). |
Address |
withInstanceId(String instanceId)
The ID of the instance that the address is associated with (if any).
|
Address |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
Address |
withNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the AWS 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.
|
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 for use with EC2-VPC.
allocationId
- The ID representing the allocation of the address for use with EC2-VPC.public String getAllocationId()
The ID representing the allocation of the address for use with EC2-VPC.
public Address withAllocationId(String allocationId)
The ID representing the allocation of the address for use with EC2-VPC.
allocationId
- The ID representing the allocation of the address for use with EC2-VPC.public void setAssociationId(String associationId)
The ID representing the association of the address with an instance in a VPC.
associationId
- The ID representing the association of the address with an instance in a VPC.public String getAssociationId()
The ID representing the association of the address with an instance in a VPC.
public Address withAssociationId(String associationId)
The ID representing the association of the address with an instance in a VPC.
associationId
- The ID representing the association of the address with an instance in a VPC.public 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
).
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 getDomain()
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
) or
instances in a VPC (vpc
).
standard
) or instances in a VPC (vpc
).DomainType
public Address withDomain(String domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
) or
instances in a VPC (vpc
).
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)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
) or
instances in a VPC (vpc
).
domain
- Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
)
or instances in a VPC (vpc
).DomainType
public Address withDomain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
) or
instances in a VPC (vpc
).
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 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 AWS account that owns the network interface.
networkInterfaceOwnerId
- The ID of the AWS account that owns the network interface.public String getNetworkInterfaceOwnerId()
The ID of the AWS account that owns the network interface.
public Address withNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the AWS account that owns the network interface.
networkInterfaceOwnerId
- The ID of the AWS 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.