@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterface extends Object implements Serializable, Cloneable, StructuredPojo
The structure that contains information about a network interface.
Constructor and Description |
---|
NetworkInterface() |
Modifier and Type | Method and Description |
---|---|
NetworkInterface |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The availability zone that the network interface resides in.
|
String |
getErrorMessage()
An error message.
|
String |
getNetworkInterfaceId()
The network interface ID.
|
String |
getStatus()
The status of the network interface.
|
String |
getSubnetId()
The subnet ID associated with the network interface.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZone(String availabilityZone)
The availability zone that the network interface resides in.
|
void |
setErrorMessage(String errorMessage)
An error message.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The network interface ID.
|
void |
setStatus(String status)
The status of the network interface.
|
void |
setSubnetId(String subnetId)
The subnet ID associated with the network interface.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterface |
withAvailabilityZone(String availabilityZone)
The availability zone that the network interface resides in.
|
NetworkInterface |
withErrorMessage(String errorMessage)
An error message.
|
NetworkInterface |
withNetworkInterfaceId(String networkInterfaceId)
The network interface ID.
|
NetworkInterface |
withStatus(NetworkInterfaceStatus status)
The status of the network interface.
|
NetworkInterface |
withStatus(String status)
The status of the network interface.
|
NetworkInterface |
withSubnetId(String subnetId)
The subnet ID associated with the network interface.
|
public void setSubnetId(String subnetId)
The subnet ID associated with the network interface.
subnetId
- The subnet ID associated with the network interface.public String getSubnetId()
The subnet ID associated with the network interface.
public NetworkInterface withSubnetId(String subnetId)
The subnet ID associated with the network interface.
subnetId
- The subnet ID associated with the network interface.public void setAvailabilityZone(String availabilityZone)
The availability zone that the network interface resides in.
availabilityZone
- The availability zone that the network interface resides in.public String getAvailabilityZone()
The availability zone that the network interface resides in.
public NetworkInterface withAvailabilityZone(String availabilityZone)
The availability zone that the network interface resides in.
availabilityZone
- The availability zone that the network interface resides in.public void setErrorMessage(String errorMessage)
An error message.
errorMessage
- An error message.public String getErrorMessage()
An error message.
public NetworkInterface withErrorMessage(String errorMessage)
An error message.
errorMessage
- An error message.public void setStatus(String status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
public String getStatus()
The status of the network interface.
NetworkInterfaceStatus
public NetworkInterface withStatus(String status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
public NetworkInterface withStatus(NetworkInterfaceStatus status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
public void setNetworkInterfaceId(String networkInterfaceId)
The network interface ID.
networkInterfaceId
- The network interface ID.public String getNetworkInterfaceId()
The network interface ID.
public NetworkInterface withNetworkInterfaceId(String networkInterfaceId)
The network interface ID.
networkInterfaceId
- The network interface ID.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.