Class InstancePrivateIpAddress
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.InstancePrivateIpAddress
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstancePrivateIpAddress.Builder,InstancePrivateIpAddress>
@Generated("software.amazon.awssdk:codegen") public final class InstancePrivateIpAddress extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstancePrivateIpAddress.Builder,InstancePrivateIpAddress>
Describes a private IPv4 address.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstancePrivateIpAddress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceNetworkInterfaceAssociationassociation()The association information for an Elastic IP address for the network interface.static InstancePrivateIpAddress.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleanprimary()Indicates whether this IPv4 address is the primary private IP address of the network interface.StringprivateDnsName()The private IPv4 DNS name.StringprivateIpAddress()The private IPv4 address of the network interface.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends InstancePrivateIpAddress.Builder>serializableBuilderClass()InstancePrivateIpAddress.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
-
association
public final InstanceNetworkInterfaceAssociation association()
The association information for an Elastic IP address for the network interface.
- Returns:
- The association information for an Elastic IP address for the network interface.
-
primary
public final Boolean primary()
Indicates whether this IPv4 address is the primary private IP address of the network interface.
- Returns:
- Indicates whether this IPv4 address is the primary private IP address of the network interface.
-
privateDnsName
public final String privateDnsName()
The private IPv4 DNS name.
- Returns:
- The private IPv4 DNS name.
-
privateIpAddress
public final String privateIpAddress()
The private IPv4 address of the network interface.
- Returns:
- The private IPv4 address of the network interface.
-
toBuilder
public InstancePrivateIpAddress.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstancePrivateIpAddress.Builder,InstancePrivateIpAddress>
-
builder
public static InstancePrivateIpAddress.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstancePrivateIpAddress.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-