@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 |
getCustomerOwnedIp()
The customer-owned IP address.
|
String |
getCustomerOwnedIpv4Pool()
The ID of the customer-owned address pool.
|
String |
getDomain()
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard ) or
instances in a VPC (vpc ). |
String |
getNetworkBorderGroup()
The location from which the IP address is advertised.
|
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 |
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 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 |
setNetworkBorderGroup(String networkBorderGroup)
The location from which the IP address is advertised.
|
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 |
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 this Elastic IP address is for use with instances in EC2-Classic (
standard ) or
instances in a VPC (vpc ). |
AllocateAddressResult |
withDomain(String domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard ) or
instances in a VPC (vpc ). |
AllocateAddressResult |
withNetworkBorderGroup(String networkBorderGroup)
The location from which the IP address is advertised.
|
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 location from which the IP address is advertised.
networkBorderGroup
- The location from which the IP address is advertised.public String getNetworkBorderGroup()
The location from which the IP address is advertised.
public AllocateAddressResult withNetworkBorderGroup(String networkBorderGroup)
The location from which the IP address is advertised.
networkBorderGroup
- The location from which the IP address is advertised.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 AllocateAddressResult 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 AllocateAddressResult 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 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 String toString()
toString
in class Object
Object.toString()
public AllocateAddressResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.