@Generated(value="software.amazon.awssdk:codegen") public final class ElasticIp extends Object implements StructuredPojo, ToCopyableBuilder<ElasticIp.Builder,ElasticIp>
Describes an Elastic IP address.
Modifier and Type | Class and Description |
---|---|
static interface |
ElasticIp.Builder |
Modifier and Type | Method and Description |
---|---|
static ElasticIp.Builder |
builder() |
String |
domain()
The domain.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The ID of the instance that the address is attached to.
|
String |
ip()
The IP address.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name.
|
String |
region()
The AWS region.
|
static Class<? extends ElasticIp.Builder> |
serializableBuilderClass() |
ElasticIp.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String ip()
The IP address.
public String name()
The name.
public String domain()
The domain.
public String region()
The AWS region. For more information, see Regions and Endpoints.
public String instanceId()
The ID of the instance that the address is attached to.
public ElasticIp.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ElasticIp.Builder,ElasticIp>
public static ElasticIp.Builder builder()
public static Class<? extends ElasticIp.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.