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 interface
InstancePrivateIpAddress.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceNetworkInterfaceAssociation
association()
The association information for an Elastic IP address for the network interface.static InstancePrivateIpAddress.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Boolean
primary()
Indicates whether this IPv4 address is the primary private IP address of the network interface.String
privateDnsName()
The private IPv4 DNS name.String
privateIpAddress()
The private IPv4 address of the network interface.List<SdkField<?>>
sdkFields()
static Class<? extends InstancePrivateIpAddress.Builder>
serializableBuilderClass()
InstancePrivateIpAddress.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-