@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 |
getSubnetId()
The ID of the subnet.
|
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 |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterface |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
NetworkInterface |
withSubnetId(String subnetId)
The ID of the subnet.
|
public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId - The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public NetworkInterface withSubnetId(String subnetId)
The ID of the subnet.
subnetId - The ID of the subnet.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 String toString()
toString in class ObjectObject.toString()public NetworkInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.