@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidNetworkInterface extends Object implements Serializable, Cloneable, StructuredPojo
A reason a vehicle network interface isn't valid.
| Constructor and Description |
|---|
InvalidNetworkInterface() |
| Modifier and Type | Method and Description |
|---|---|
InvalidNetworkInterface |
clone() |
boolean |
equals(Object obj) |
String |
getInterfaceId()
The ID of the interface that isn't valid.
|
String |
getReason()
A message about why the interface isn't valid.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInterfaceId(String interfaceId)
The ID of the interface that isn't valid.
|
void |
setReason(String reason)
A message about why the interface isn't valid.
|
String |
toString()
Returns a string representation of this object.
|
InvalidNetworkInterface |
withInterfaceId(String interfaceId)
The ID of the interface that isn't valid.
|
InvalidNetworkInterface |
withReason(NetworkInterfaceFailureReason reason)
A message about why the interface isn't valid.
|
InvalidNetworkInterface |
withReason(String reason)
A message about why the interface isn't valid.
|
public void setInterfaceId(String interfaceId)
The ID of the interface that isn't valid.
interfaceId - The ID of the interface that isn't valid.public String getInterfaceId()
The ID of the interface that isn't valid.
public InvalidNetworkInterface withInterfaceId(String interfaceId)
The ID of the interface that isn't valid.
interfaceId - The ID of the interface that isn't valid.public void setReason(String reason)
A message about why the interface isn't valid.
reason - A message about why the interface isn't valid.NetworkInterfaceFailureReasonpublic String getReason()
A message about why the interface isn't valid.
NetworkInterfaceFailureReasonpublic InvalidNetworkInterface withReason(String reason)
A message about why the interface isn't valid.
reason - A message about why the interface isn't valid.NetworkInterfaceFailureReasonpublic InvalidNetworkInterface withReason(NetworkInterfaceFailureReason reason)
A message about why the interface isn't valid.
reason - A message about why the interface isn't valid.NetworkInterfaceFailureReasonpublic String toString()
toString in class ObjectObject.toString()public InvalidNetworkInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.