@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.NetworkInterfaceFailureReason
public String getReason()
A message about why the interface isn't valid.
NetworkInterfaceFailureReason
public InvalidNetworkInterface withReason(String reason)
A message about why the interface isn't valid.
reason
- A message about why the interface isn't valid.NetworkInterfaceFailureReason
public InvalidNetworkInterface withReason(NetworkInterfaceFailureReason reason)
A message about why the interface isn't valid.
reason
- A message about why the interface isn't valid.NetworkInterfaceFailureReason
public String toString()
toString
in class Object
Object.toString()
public InvalidNetworkInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.