@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrivateIpAddressDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains other private IP address information of the EC2 instance.
| Constructor and Description |
|---|
PrivateIpAddressDetails() |
| Modifier and Type | Method and Description |
|---|---|
PrivateIpAddressDetails |
clone() |
boolean |
equals(Object obj) |
String |
getPrivateDnsName()
The private DNS name of the EC2 instance.
|
String |
getPrivateIpAddress()
The private IP address of the EC2 instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPrivateDnsName(String privateDnsName)
The private DNS name of the EC2 instance.
|
void |
setPrivateIpAddress(String privateIpAddress)
The private IP address of the EC2 instance.
|
String |
toString()
Returns a string representation of this object.
|
PrivateIpAddressDetails |
withPrivateDnsName(String privateDnsName)
The private DNS name of the EC2 instance.
|
PrivateIpAddressDetails |
withPrivateIpAddress(String privateIpAddress)
The private IP address of the EC2 instance.
|
public void setPrivateDnsName(String privateDnsName)
The private DNS name of the EC2 instance.
privateDnsName - The private DNS name of the EC2 instance.public String getPrivateDnsName()
The private DNS name of the EC2 instance.
public PrivateIpAddressDetails withPrivateDnsName(String privateDnsName)
The private DNS name of the EC2 instance.
privateDnsName - The private DNS name of the EC2 instance.public void setPrivateIpAddress(String privateIpAddress)
The private IP address of the EC2 instance.
privateIpAddress - The private IP address of the EC2 instance.public String getPrivateIpAddress()
The private IP address of the EC2 instance.
public PrivateIpAddressDetails withPrivateIpAddress(String privateIpAddress)
The private IP address of the EC2 instance.
privateIpAddress - The private IP address of the EC2 instance.public String toString()
toString in class ObjectObject.toString()public PrivateIpAddressDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.