@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterface extends Object implements Serializable, Cloneable, StructuredPojo
Describes a network interface.
Constructor and Description |
---|
NetworkInterface() |
Modifier and Type | Method and Description |
---|---|
NetworkInterface |
clone() |
boolean |
equals(Object obj) |
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getPrivateIpAddress()
The IPv4 address of the network interface within the subnet.
|
String |
getPublicIpAddress()
The IPv4 public address of the network interface.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
void |
setPublicIpAddress(String publicIpAddress)
The IPv4 public address of the network interface.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterface |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
NetworkInterface |
withPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
NetworkInterface |
withPublicIpAddress(String publicIpAddress)
The IPv4 public address of the network interface.
|
public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public NetworkInterface withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
privateIpAddress
- The IPv4 address of the network interface within the subnet.public String getPrivateIpAddress()
The IPv4 address of the network interface within the subnet.
public NetworkInterface withPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
privateIpAddress
- The IPv4 address of the network interface within the subnet.public void setPublicIpAddress(String publicIpAddress)
The IPv4 public address of the network interface.
publicIpAddress
- The IPv4 public address of the network interface.public String getPublicIpAddress()
The IPv4 public address of the network interface.
public NetworkInterface withPublicIpAddress(String publicIpAddress)
The IPv4 public address of the network interface.
publicIpAddress
- The IPv4 public address of the network interface.public String toString()
toString
in class Object
Object.toString()
public NetworkInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.