@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstancePrivateIpAddress extends Object implements Serializable, Cloneable
Describes a private IPv4 address.
Constructor and Description |
---|
InstancePrivateIpAddress() |
Modifier and Type | Method and Description |
---|---|
InstancePrivateIpAddress |
clone() |
boolean |
equals(Object obj) |
InstanceNetworkInterfaceAssociation |
getAssociation()
The association information for an Elastic IP address for the network interface.
|
Boolean |
getPrimary()
Indicates whether this IPv4 address is the primary private IP address of the network interface.
|
String |
getPrivateDnsName()
The private IPv4 DNS name.
|
String |
getPrivateIpAddress()
The private IPv4 address of the network interface.
|
int |
hashCode() |
Boolean |
isPrimary()
Indicates whether this IPv4 address is the primary private IP address of the network interface.
|
void |
setAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network interface.
|
void |
setPrimary(Boolean primary)
Indicates whether this IPv4 address is the primary private IP address of the network interface.
|
void |
setPrivateDnsName(String privateDnsName)
The private IPv4 DNS name.
|
void |
setPrivateIpAddress(String privateIpAddress)
The private IPv4 address of the network interface.
|
String |
toString()
Returns a string representation of this object.
|
InstancePrivateIpAddress |
withAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network interface.
|
InstancePrivateIpAddress |
withPrimary(Boolean primary)
Indicates whether this IPv4 address is the primary private IP address of the network interface.
|
InstancePrivateIpAddress |
withPrivateDnsName(String privateDnsName)
The private IPv4 DNS name.
|
InstancePrivateIpAddress |
withPrivateIpAddress(String privateIpAddress)
The private IPv4 address of the network interface.
|
public void setAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network interface.
association
- The association information for an Elastic IP address for the network interface.public InstanceNetworkInterfaceAssociation getAssociation()
The association information for an Elastic IP address for the network interface.
public InstancePrivateIpAddress withAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network interface.
association
- The association information for an Elastic IP address for the network interface.public void setPrimary(Boolean primary)
Indicates whether this IPv4 address is the primary private IP address of the network interface.
primary
- Indicates whether this IPv4 address is the primary private IP address of the network interface.public Boolean getPrimary()
Indicates whether this IPv4 address is the primary private IP address of the network interface.
public InstancePrivateIpAddress withPrimary(Boolean primary)
Indicates whether this IPv4 address is the primary private IP address of the network interface.
primary
- Indicates whether this IPv4 address is the primary private IP address of the network interface.public Boolean isPrimary()
Indicates whether this IPv4 address is the primary private IP address of the network interface.
public void setPrivateDnsName(String privateDnsName)
The private IPv4 DNS name.
privateDnsName
- The private IPv4 DNS name.public String getPrivateDnsName()
The private IPv4 DNS name.
public InstancePrivateIpAddress withPrivateDnsName(String privateDnsName)
The private IPv4 DNS name.
privateDnsName
- The private IPv4 DNS name.public void setPrivateIpAddress(String privateIpAddress)
The private IPv4 address of the network interface.
privateIpAddress
- The private IPv4 address of the network interface.public String getPrivateIpAddress()
The private IPv4 address of the network interface.
public InstancePrivateIpAddress withPrivateIpAddress(String privateIpAddress)
The private IPv4 address of the network interface.
privateIpAddress
- The private IPv4 address of the network interface.public String toString()
toString
in class Object
Object.toString()
public InstancePrivateIpAddress clone()