@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 AWS assigns to represent the allocation of the Elastic IP address for use with instances in
a VPC.
|
static AllocateAddressResponse.Builder |
builder() |
String |
customerOwnedIp()
The customer-owned IP address.
|
String |
customerOwnedIpv4Pool()
The ID of the customer-owned address pool.
|
DomainType |
domain()
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard) or
instances in a VPC (vpc). |
String |
domainAsString()
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard) or
instances in a VPC (vpc). |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
networkBorderGroup()
The location from which the IP address is advertised.
|
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 String publicIp()
The Elastic IP address.
public String allocationId()
[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.
public String publicIpv4Pool()
The ID of an address pool.
public String networkBorderGroup()
The location from which the IP address is advertised.
public DomainType domain()
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or
instances in a VPC (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().
standard
) or instances in a VPC (vpc).DomainTypepublic String domainAsString()
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or
instances in a VPC (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().
standard
) or instances in a VPC (vpc).DomainTypepublic String customerOwnedIp()
The customer-owned IP address.
public String customerOwnedIpv4Pool()
The ID of the customer-owned address pool.
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 int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.