Class 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>
  • Method Details

    • 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 that you own.

      Returns:
      The ID of an address pool that you own.
    • 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 return DomainType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from domainAsString().

      Returns:
      The network (vpc).
      See Also:
    • 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 return DomainType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from domainAsString().

      Returns:
      The network (vpc).
      See Also:
    • 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. Available only for network interfaces that reside in a subnet in a Wavelength Zone.

      Returns:
      The carrier IP address. Available only for network interfaces that reside in a subnet in a Wavelength Zone.
    • publicIp

      public final String publicIp()

      The Amazon-owned IP address. Not available when using an address pool that you own.

      Returns:
      The Amazon-owned IP address. Not available when using an address pool that you own.
    • toBuilder

      public AllocateAddressResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static AllocateAddressResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AllocateAddressResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo