@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 Amazon Web Services 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 Amazon Web Services 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 final String publicIp()
The Elastic IP address.
public final String allocationId()
[EC2-VPC] The ID that Amazon Web Services assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
public final String publicIpv4Pool()
The ID of an address pool.
public final String networkBorderGroup()
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
public final 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 final 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 final String customerOwnedIp()
The customer-owned IP address.
public final String customerOwnedIpv4Pool()
The ID of the customer-owned address pool.
public final 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 final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.