Class ElasticIp
- java.lang.Object
-
- software.amazon.awssdk.services.opsworks.model.ElasticIp
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ElasticIp.Builder,ElasticIp>
@Generated("software.amazon.awssdk:codegen") public final class ElasticIp extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ElasticIp.Builder,ElasticIp>
Describes an Elastic IP address.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceElasticIp.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElasticIp.Builderbuilder()Stringdomain()The domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The ID of the instance that the address is attached to.Stringip()The IP address.Stringname()The name.Stringregion()The AWS region.List<SdkField<?>>sdkFields()static Class<? extends ElasticIp.Builder>serializableBuilderClass()ElasticIp.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
ip
public final String ip()
The IP address.
- Returns:
- The IP address.
-
name
public final String name()
The name.
- Returns:
- The name.
-
domain
public final String domain()
The domain.
- Returns:
- The domain.
-
region
public final String region()
The AWS region. For more information, see Regions and Endpoints.
- Returns:
- The AWS region. For more information, see Regions and Endpoints.
-
instanceId
public final String instanceId()
The ID of the instance that the address is attached to.
- Returns:
- The ID of the instance that the address is attached to.
-
toBuilder
public ElasticIp.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ElasticIp.Builder,ElasticIp>
-
builder
public static ElasticIp.Builder builder()
-
serializableBuilderClass
public static Class<? extends ElasticIp.Builder> serializableBuilderClass()
-
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.
-
-