public class InstancePrivateIpAddress extends Object implements Serializable, Cloneable
Describes a private IP 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 IP address is the primary private IP address of
the network interface.
|
String |
getPrivateDnsName()
The private DNS name.
|
String |
getPrivateIpAddress()
The private IP address of the network interface.
|
int |
hashCode() |
Boolean |
isPrimary()
Indicates whether this IP 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 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 of the network interface.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstancePrivateIpAddress |
withAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network
interface.
|
InstancePrivateIpAddress |
withPrimary(Boolean primary)
Indicates whether this IP address is the primary private IP address of
the network interface.
|
InstancePrivateIpAddress |
withPrivateDnsName(String privateDnsName)
The private DNS name.
|
InstancePrivateIpAddress |
withPrivateIpAddress(String privateIpAddress)
The private IP address of the network interface.
|
public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The private IP address of the network interface.public InstancePrivateIpAddress withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The private IP address of the network interface.public String getPrivateDnsName()
public void setPrivateDnsName(String privateDnsName)
privateDnsName
- The private DNS name.public InstancePrivateIpAddress 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 InstancePrivateIpAddress 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 InstanceNetworkInterfaceAssociation getAssociation()
public void setAssociation(InstanceNetworkInterfaceAssociation association)
association
- The association information for an Elastic IP address for the network
interface.public InstancePrivateIpAddress withAssociation(InstanceNetworkInterfaceAssociation association)
Returns a reference to this object so that method calls can be chained together.
association
- The association information for an Elastic IP address for the network
interface.public String toString()
toString
in class Object
Object.toString()
public InstancePrivateIpAddress clone()
Copyright © 2015. All rights reserved.