Class AllocateAddressResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.ec2.model.Ec2Response
-
- software.amazon.awssdk.services.ec2.model.AllocateAddressResponse
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>
@Generated("software.amazon.awssdk:codegen") public final class AllocateAddressResponse extends Ec2Response implements ToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AllocateAddressResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class software.amazon.awssdk.services.ec2.model.Ec2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
allocationId
public final String allocationId()
The ID that represents the allocation of the Elastic IP address.
- Returns:
- The ID that represents the allocation of the Elastic IP address.
-
publicIpv4Pool
public final String publicIpv4Pool()
The ID of an address pool.
- Returns:
- The ID of an address pool.
-
networkBorderGroup
public final String networkBorderGroup()
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
- Returns:
- The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
-
domain
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 returnDomainType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdomainAsString()
.- Returns:
- The network (
vpc
). - See Also:
DomainType
-
domainAsString
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 returnDomainType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdomainAsString()
.- Returns:
- The network (
vpc
). - See Also:
DomainType
-
customerOwnedIp
public final String customerOwnedIp()
The customer-owned IP address.
- Returns:
- The customer-owned IP address.
-
customerOwnedIpv4Pool
public final String customerOwnedIpv4Pool()
The ID of the customer-owned address pool.
- Returns:
- The ID of the customer-owned address pool.
-
carrierIp
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.
- Returns:
- The carrier IP address. This option is only available for network interfaces that reside in a subnet in a Wavelength Zone.
-
publicIp
public final String publicIp()
The Elastic IP address.
- Returns:
- The Elastic IP address.
-
toBuilder
public AllocateAddressResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static AllocateAddressResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends AllocateAddressResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkResponse
-
-