@Generated(value="software.amazon.awssdk:codegen") public class AllocateAddressResponse extends AmazonWebServiceResult<ResponseMetadata> implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>
Contains the output of AllocateAddress.
| 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() |
DomainType |
domain()
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard) or
instances in a VPC (vpc). |
String |
domainString()
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
publicIp()
The Elastic IP address.
|
static Class<? extends AllocateAddressResponse.Builder> |
serializableBuilderClass() |
AllocateAddressResponse.Builder |
toBuilder() |
String |
toString() |
public 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 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
domainString().
standard
) or instances in a VPC (vpc).DomainTypepublic String domainString()
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
domainString().
standard
) or instances in a VPC (vpc).DomainTypepublic AllocateAddressResponse.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<AllocateAddressResponse.Builder,AllocateAddressResponse>public static AllocateAddressResponse.Builder builder()
public static Class<? extends AllocateAddressResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2017. All rights reserved.