@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterfacePrivateIpAddress extends Object implements Serializable, Cloneable
Describes the private IPv4 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 (IPv4) associated with the network interface.
|
Boolean |
getPrimary()
Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.
|
String |
getPrivateDnsName()
The private DNS name.
|
String |
getPrivateIpAddress()
The private IPv4 address.
|
int |
hashCode() |
Boolean |
isPrimary()
Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.
|
void |
setAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
void |
setPrimary(Boolean primary)
Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.
|
void |
setPrivateDnsName(String privateDnsName)
The private DNS name.
|
void |
setPrivateIpAddress(String privateIpAddress)
The private IPv4 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 (IPv4) associated with the network interface.
|
NetworkInterfacePrivateIpAddress |
withPrimary(Boolean primary)
Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.
|
NetworkInterfacePrivateIpAddress |
withPrivateDnsName(String privateDnsName)
The private DNS name.
|
NetworkInterfacePrivateIpAddress |
withPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
|
public void setAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
association
- The association information for an Elastic IP address (IPv4) associated with the network interface.public NetworkInterfaceAssociation getAssociation()
The association information for an Elastic IP address (IPv4) associated with the network interface.
public NetworkInterfacePrivateIpAddress withAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
association
- The association information for an Elastic IP address (IPv4) associated with the network interface.public void setPrimary(Boolean primary)
Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.
primary
- Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.public Boolean getPrimary()
Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.
public NetworkInterfacePrivateIpAddress withPrimary(Boolean primary)
Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.
primary
- Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.public Boolean isPrimary()
Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.
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 setPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
privateIpAddress
- The private IPv4 address.public String getPrivateIpAddress()
The private IPv4 address.
public NetworkInterfacePrivateIpAddress withPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
privateIpAddress
- The private IPv4 address.public String toString()
toString
in class Object
Object.toString()
public NetworkInterfacePrivateIpAddress clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.