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