@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()
The ID that represents the allocation of the Elastic IP address.
|
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()
The network (
vpc ). |
String |
domainAsString()
The network (
vpc ). |
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.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String publicIp()
The Elastic IP address.
public final String allocationId()
The ID that represents the allocation of the Elastic IP address.
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()
The network (vpc
).
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
).DomainType
public final String domainAsString()
The network (vpc
).
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
).DomainType
public 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 that reside in a subnet in a Wavelength Zone.
public AllocateAddressResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>
toBuilder
in class AwsResponse
public static AllocateAddressResponse.Builder builder()
public static Class<? extends AllocateAddressResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2023. All rights reserved.