@Generated(value="software.amazon.awssdk:codegen") public final class AllocateAddressResponse extends Ec2Response implements ToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AllocateAddressResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static AllocateAddressResponse.Builder |
builder() |
String |
carrierIp()
The carrier IP address.
|
String |
customerOwnedIp()
The customer-owned IP address.
|
String |
customerOwnedIpv4Pool()
The ID of the customer-owned address pool.
|
DomainType |
domain()
Indicates whether the Elastic IP address is for use with instances in a VPC (
vpc) or instances in
EC2-Classic (standard). |
String |
domainAsString()
Indicates whether the Elastic IP address is for use with instances in a VPC (
vpc) or instances in
EC2-Classic (standard). |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
networkBorderGroup()
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
|
String |
publicIp()
The Elastic IP address.
|
String |
publicIpv4Pool()
The ID of an address pool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AllocateAddressResponse.Builder> |
serializableBuilderClass() |
AllocateAddressResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String publicIp()
The Elastic IP address.
public 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.
public String publicIpv4Pool()
The ID of an address pool.
public String networkBorderGroup()
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
public DomainType domain()
Indicates whether the Elastic IP address is for use with instances in a VPC (vpc) or instances in
EC2-Classic (standard).
If the service returns an enum value that is not available in the current SDK version, domain will
return DomainType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainAsString().
vpc) or
instances in EC2-Classic (standard).DomainTypepublic String domainAsString()
Indicates whether the Elastic IP address is for use with instances in a VPC (vpc) or instances in
EC2-Classic (standard).
If the service returns an enum value that is not available in the current SDK version, domain will
return DomainType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainAsString().
vpc) or
instances in EC2-Classic (standard).DomainTypepublic String customerOwnedIp()
The customer-owned IP address.
public String customerOwnedIpv4Pool()
The ID of the customer-owned address pool.
public 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).
public AllocateAddressResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>toBuilder in class AwsResponsepublic static AllocateAddressResponse.Builder builder()
public static Class<? extends AllocateAddressResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.