public class NetworkInterfacePrivateIpAddress
extends java.lang.Object
implements java.io.Serializable
Describes the private IP address of a network interface.
Constructor and Description |
---|
NetworkInterfacePrivateIpAddress() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getPrivateIpAddress()
public void setPrivateIpAddress(java.lang.String privateIpAddress)
privateIpAddress
- The private IP address.public NetworkInterfacePrivateIpAddress withPrivateIpAddress(java.lang.String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The private IP address.public java.lang.String getPrivateDnsName()
public void setPrivateDnsName(java.lang.String privateDnsName)
privateDnsName
- The private DNS name.public NetworkInterfacePrivateIpAddress withPrivateDnsName(java.lang.String privateDnsName)
Returns a reference to this object so that method calls can be chained together.
privateDnsName
- The private DNS name.public java.lang.Boolean isPrimary()
public void setPrimary(java.lang.Boolean primary)
primary
- Indicates whether this IP address is the primary private IP address of
the network interface.public NetworkInterfacePrivateIpAddress withPrimary(java.lang.Boolean primary)
Returns a reference to this object so that method calls can be chained together.
primary
- Indicates whether this IP address is the primary private IP address of
the network interface.public java.lang.Boolean getPrimary()
public NetworkInterfaceAssociation getAssociation()
public void setAssociation(NetworkInterfaceAssociation association)
association
- The association information for an Elastic IP address associated with
the network interface.public NetworkInterfacePrivateIpAddress withAssociation(NetworkInterfaceAssociation association)
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.