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 interfaceAllocateAddressResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringallocationId()The ID that represents the allocation of the Elastic IP address.static AllocateAddressResponse.Builderbuilder()StringcarrierIp()The carrier IP address.StringcustomerOwnedIp()The customer-owned IP address.StringcustomerOwnedIpv4Pool()The ID of the customer-owned address pool.DomainTypedomain()The network (vpc).StringdomainAsString()The network (vpc).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnetworkBorderGroup()The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.StringpublicIp()The Elastic IP address.StringpublicIpv4Pool()The ID of an address pool.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AllocateAddressResponse.Builder>serializableBuilderClass()AllocateAddressResponse.BuildertoBuilder()StringtoString()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,
domainwill 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,
domainwill 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:
toBuilderin interfaceToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static AllocateAddressResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends AllocateAddressResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-