public class NetworkInterfacePrivateIpAddress extends Object implements Serializable, Cloneable
Describes the private IP address of a network interface.
Constructor and Description |
---|
NetworkInterfacePrivateIpAddress() |
Modifier and Type | Method and Description |
---|---|
NetworkInterfacePrivateIpAddress |
clone() |
boolean |
equals(Object obj) |
NetworkInterfaceAssociation |
getAssociation()
The association information for an Elastic IP address associated with the
network interface.
|
Boolean |
getPrimary()
Indicates whether this IP address is the primary private IP address of
the network interface.
|
String |
getPrivateDnsName()
The private DNS name.
|
String |
getPrivateIpAddress()
The private IP address.
|
int |
hashCode() |
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(Boolean primary)
Indicates whether this IP address is the primary private IP address of
the network interface.
|
void |
setPrivateDnsName(String privateDnsName)
The private DNS name.
|
void |
setPrivateIpAddress(String privateIpAddress)
The private IP address.
|
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(Boolean primary)
Indicates whether this IP address is the primary private IP address of
the network interface.
|
NetworkInterfacePrivateIpAddress |
withPrivateDnsName(String privateDnsName)
The private DNS name.
|
NetworkInterfacePrivateIpAddress |
withPrivateIpAddress(String privateIpAddress)
The private IP address.
|
public void setPrivateIpAddress(String privateIpAddress)
The private IP address.
privateIpAddress
- The private IP address.public String getPrivateIpAddress()
The private IP address.
public NetworkInterfacePrivateIpAddress withPrivateIpAddress(String privateIpAddress)
The private IP address.
privateIpAddress
- The private IP address.public void setPrivateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.public String getPrivateDnsName()
The private DNS name.
public NetworkInterfacePrivateIpAddress withPrivateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.public void setPrimary(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 Boolean getPrimary()
Indicates whether this IP address is the primary private IP address of the network interface.
public NetworkInterfacePrivateIpAddress withPrimary(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 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 String toString()
toString
in class Object
Object.toString()
public NetworkInterfacePrivateIpAddress clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.