public class NetworkInterfacePrivateIpAddress
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the private IP address of a network interface.
Modifier and Type | Field and Description |
---|---|
private NetworkInterfaceAssociation |
association
The association information for an Elastic IP address associated with the
network interface.
|
private java.lang.Boolean |
primary
Indicates whether this IP address is the primary private IP address of
the network interface.
|
private java.lang.String |
privateDnsName
The private DNS name.
|
private java.lang.String |
privateIpAddress
The private IP address.
|
Constructor and Description |
---|
NetworkInterfacePrivateIpAddress() |
Modifier and Type | Method and Description |
---|---|
NetworkInterfacePrivateIpAddress |
clone() |
boolean |
equals(java.lang.Object obj) |
NetworkInterfaceAssociation |
getAssociation()
The association information for an Elastic IP address associated with the
network interface.
|
java.lang.Boolean |
getPrimary()
Indicates whether this IP address is the primary private IP address of
the network interface.
|
java.lang.String |
getPrivateDnsName()
The private DNS name.
|
java.lang.String |
getPrivateIpAddress()
The private IP address.
|
int |
hashCode() |
java.lang.Boolean |
isPrimary()
Indicates whether this IP address is the primary private IP address of
the network interface.
|
void |
setAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address associated with the
network interface.
|
void |
setPrimary(java.lang.Boolean primary)
Indicates whether this IP address is the primary private IP address of
the network interface.
|
void |
setPrivateDnsName(java.lang.String privateDnsName)
The private DNS name.
|
void |
setPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NetworkInterfacePrivateIpAddress |
withAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address associated with the
network interface.
|
NetworkInterfacePrivateIpAddress |
withPrimary(java.lang.Boolean primary)
Indicates whether this IP address is the primary private IP address of
the network interface.
|
NetworkInterfacePrivateIpAddress |
withPrivateDnsName(java.lang.String privateDnsName)
The private DNS name.
|
NetworkInterfacePrivateIpAddress |
withPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address.
|
private java.lang.String privateIpAddress
The private IP address.
private java.lang.String privateDnsName
The private DNS name.
private java.lang.Boolean primary
Indicates whether this IP address is the primary private IP address of the network interface.
private NetworkInterfaceAssociation association
The association information for an Elastic IP address associated with the network interface.
public void setPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address.
privateIpAddress
- The private IP address.public java.lang.String getPrivateIpAddress()
The private IP address.
public NetworkInterfacePrivateIpAddress withPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address.
privateIpAddress
- The private IP address.public void setPrivateDnsName(java.lang.String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.public java.lang.String getPrivateDnsName()
The private DNS name.
public NetworkInterfacePrivateIpAddress withPrivateDnsName(java.lang.String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.public void setPrimary(java.lang.Boolean primary)
Indicates whether this IP address is the primary private IP address of the network interface.
primary
- Indicates whether this IP address is the primary private IP
address of the network interface.public java.lang.Boolean getPrimary()
Indicates whether this IP address is the primary private IP address of the network interface.
public NetworkInterfacePrivateIpAddress withPrimary(java.lang.Boolean primary)
Indicates whether this IP address is the primary private IP address of the network interface.
primary
- Indicates whether this IP address is the primary private IP
address of the network interface.public java.lang.Boolean isPrimary()
Indicates whether this IP address is the primary private IP address of the network interface.
public void setAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address associated with the network interface.
association
- The association information for an Elastic IP address associated
with the network interface.public NetworkInterfaceAssociation getAssociation()
The association information for an Elastic IP address associated with the network interface.
public NetworkInterfacePrivateIpAddress withAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address associated with the network interface.
association
- The association information for an Elastic IP address associated
with the network interface.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public NetworkInterfacePrivateIpAddress clone()
clone
in class java.lang.Object