public class Address extends Object implements Serializable
Constructor and Description |
---|
Address()
The default constructor of the Address object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAllocationId()
Returns the [EC2-VPC] The allocation ID for the address.
|
String |
getAssociationId()
Returns [EC2-VPC] The association ID for the address.
|
String |
getDomain()
Returns the domain of the address
|
String |
getInstanceId()
Returns the ID of the Address object
|
String |
getNetworkInterfaceId()
Returns [EC2-VPC] The ID of the network interface that the address is associated with, if any.
|
String |
getNetworkInterfaceOwnerId()
Returns the AWS account ID of the owner.
|
String |
getPrivateIpAddress()
Returns [EC2-VPC] The private IP address associated with the Elastic IP address.
|
String |
getPublicIp()
Returns the Elastic IP address.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
[EC2-VPC] The allocation ID for the address.
|
void |
setAssociationId(String associationId)
[EC2-VPC] The association ID for the address.
|
void |
setDomain(String domain)
The domain of the Address(Indicates whether the address is for use in EC2-Classic (standard) or in a VPC (vpc).
|
void |
setInstanceId(String instanceId)
The association ID for the address.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
[EC2-VPC] The ID of the network interface that the address is associated with, if any.
|
void |
setNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
The AWS account ID of the owner.
|
void |
setPrivateIpAddress(String privateIpAddress)
[EC2-VPC] The private IP address associated with the Elastic IP address.
|
void |
setPublicIp(String publicIp)
The Elastic IP address.
|
String |
toString() |
public void setInstanceId(String instanceId)
instanceId
- The association ID for the address.public String getInstanceId()
public void setPublicIp(String publicIp)
publicIp
- The Elastic IP address.public String getPublicIp()
public void setAllocationId(String allocationId)
allocationId
- [EC2-VPC] The allocation ID for the address.public String getAllocationId()
public void setAssociationId(String associationId)
associationId
- [EC2-VPC] The association ID for the address.public String getAssociationId()
public void setDomain(String domain)
domain
- domain of the Addresspublic String getDomain()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- [EC2-VPC] The ID of the network interface that the address is associated with, if any.public String getNetworkInterfaceId()
public void setNetworkInterfaceOwnerId(String networkInterfaceOwnerId)
networkInterfaceOwnerId
- The AWS account ID of the owner.public String getNetworkInterfaceOwnerId()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The private IP address associated with the Elastic IP address.public String getPrivateIpAddress()
Copyright © 2010–2020. All rights reserved.