@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CanInterface extends Object implements Serializable, Cloneable, StructuredPojo
A single controller area network (CAN) device interface.
Constructor and Description |
---|
CanInterface() |
Modifier and Type | Method and Description |
---|---|
CanInterface |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The unique name of the interface.
|
String |
getProtocolName()
The name of the communication protocol for the interface.
|
String |
getProtocolVersion()
The version of the communication protocol for the interface.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The unique name of the interface.
|
void |
setProtocolName(String protocolName)
The name of the communication protocol for the interface.
|
void |
setProtocolVersion(String protocolVersion)
The version of the communication protocol for the interface.
|
String |
toString()
Returns a string representation of this object.
|
CanInterface |
withName(String name)
The unique name of the interface.
|
CanInterface |
withProtocolName(String protocolName)
The name of the communication protocol for the interface.
|
CanInterface |
withProtocolVersion(String protocolVersion)
The version of the communication protocol for the interface.
|
public void setName(String name)
The unique name of the interface.
name
- The unique name of the interface.public String getName()
The unique name of the interface.
public CanInterface withName(String name)
The unique name of the interface.
name
- The unique name of the interface.public void setProtocolName(String protocolName)
The name of the communication protocol for the interface.
protocolName
- The name of the communication protocol for the interface.public String getProtocolName()
The name of the communication protocol for the interface.
public CanInterface withProtocolName(String protocolName)
The name of the communication protocol for the interface.
protocolName
- The name of the communication protocol for the interface.public void setProtocolVersion(String protocolVersion)
The version of the communication protocol for the interface.
protocolVersion
- The version of the communication protocol for the interface.public String getProtocolVersion()
The version of the communication protocol for the interface.
public CanInterface withProtocolVersion(String protocolVersion)
The version of the communication protocol for the interface.
protocolVersion
- The version of the communication protocol for the interface.public String toString()
toString
in class Object
Object.toString()
public CanInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.