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