|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InstancePrivateIpAddress
public class InstancePrivateIpAddress
Describes a private IP address.
Constructor Summary | |
---|---|
InstancePrivateIpAddress()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstancePrivateIpAddress()
Method Detail |
---|
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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |