public class NetworkInterfacePrivateIpAddress extends Object implements Serializable
Describes the private IP address of a network interface.
Constructor and Description |
---|
NetworkInterfacePrivateIpAddress() |
Modifier and Type | Method and Description |
---|---|
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 String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The private IP address.public NetworkInterfacePrivateIpAddress withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The private IP address.public String getPrivateDnsName()
public void setPrivateDnsName(String privateDnsName)
privateDnsName
- The private DNS name.public NetworkInterfacePrivateIpAddress withPrivateDnsName(String privateDnsName)
Returns a reference to this object so that method calls can be chained together.
privateDnsName
- The private DNS name.public Boolean isPrimary()
public void setPrimary(Boolean primary)
primary
- Indicates whether this IP address is the primary private IP address of
the network interface.public NetworkInterfacePrivateIpAddress withPrimary(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 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.