@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ObdInterface extends Object implements Serializable, Cloneable, StructuredPojo
A network interface that specifies the On-board diagnostic (OBD) II network protocol.
Constructor and Description |
---|
ObdInterface() |
Modifier and Type | Method and Description |
---|---|
ObdInterface |
clone() |
boolean |
equals(Object obj) |
Integer |
getDtcRequestIntervalSeconds()
The maximum number message requests per diagnostic trouble code per second.
|
Boolean |
getHasTransmissionEcu()
Whether the vehicle has a transmission control module (TCM).
|
String |
getName()
The name of the interface.
|
String |
getObdStandard()
The standard OBD II PID.
|
Integer |
getPidRequestIntervalSeconds()
The maximum number message requests per second.
|
Integer |
getRequestMessageId()
The ID of the message requesting vehicle data.
|
Boolean |
getUseExtendedIds()
Whether to use extended IDs in the message.
|
int |
hashCode() |
Boolean |
isHasTransmissionEcu()
Whether the vehicle has a transmission control module (TCM).
|
Boolean |
isUseExtendedIds()
Whether to use extended IDs in the message.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDtcRequestIntervalSeconds(Integer dtcRequestIntervalSeconds)
The maximum number message requests per diagnostic trouble code per second.
|
void |
setHasTransmissionEcu(Boolean hasTransmissionEcu)
Whether the vehicle has a transmission control module (TCM).
|
void |
setName(String name)
The name of the interface.
|
void |
setObdStandard(String obdStandard)
The standard OBD II PID.
|
void |
setPidRequestIntervalSeconds(Integer pidRequestIntervalSeconds)
The maximum number message requests per second.
|
void |
setRequestMessageId(Integer requestMessageId)
The ID of the message requesting vehicle data.
|
void |
setUseExtendedIds(Boolean useExtendedIds)
Whether to use extended IDs in the message.
|
String |
toString()
Returns a string representation of this object.
|
ObdInterface |
withDtcRequestIntervalSeconds(Integer dtcRequestIntervalSeconds)
The maximum number message requests per diagnostic trouble code per second.
|
ObdInterface |
withHasTransmissionEcu(Boolean hasTransmissionEcu)
Whether the vehicle has a transmission control module (TCM).
|
ObdInterface |
withName(String name)
The name of the interface.
|
ObdInterface |
withObdStandard(String obdStandard)
The standard OBD II PID.
|
ObdInterface |
withPidRequestIntervalSeconds(Integer pidRequestIntervalSeconds)
The maximum number message requests per second.
|
ObdInterface |
withRequestMessageId(Integer requestMessageId)
The ID of the message requesting vehicle data.
|
ObdInterface |
withUseExtendedIds(Boolean useExtendedIds)
Whether to use extended IDs in the message.
|
public void setName(String name)
The name of the interface.
name
- The name of the interface.public String getName()
The name of the interface.
public ObdInterface withName(String name)
The name of the interface.
name
- The name of the interface.public void setRequestMessageId(Integer requestMessageId)
The ID of the message requesting vehicle data.
requestMessageId
- The ID of the message requesting vehicle data.public Integer getRequestMessageId()
The ID of the message requesting vehicle data.
public ObdInterface withRequestMessageId(Integer requestMessageId)
The ID of the message requesting vehicle data.
requestMessageId
- The ID of the message requesting vehicle data.public void setObdStandard(String obdStandard)
The standard OBD II PID.
obdStandard
- The standard OBD II PID.public String getObdStandard()
The standard OBD II PID.
public ObdInterface withObdStandard(String obdStandard)
The standard OBD II PID.
obdStandard
- The standard OBD II PID.public void setPidRequestIntervalSeconds(Integer pidRequestIntervalSeconds)
The maximum number message requests per second.
pidRequestIntervalSeconds
- The maximum number message requests per second.public Integer getPidRequestIntervalSeconds()
The maximum number message requests per second.
public ObdInterface withPidRequestIntervalSeconds(Integer pidRequestIntervalSeconds)
The maximum number message requests per second.
pidRequestIntervalSeconds
- The maximum number message requests per second.public void setDtcRequestIntervalSeconds(Integer dtcRequestIntervalSeconds)
The maximum number message requests per diagnostic trouble code per second.
dtcRequestIntervalSeconds
- The maximum number message requests per diagnostic trouble code per second.public Integer getDtcRequestIntervalSeconds()
The maximum number message requests per diagnostic trouble code per second.
public ObdInterface withDtcRequestIntervalSeconds(Integer dtcRequestIntervalSeconds)
The maximum number message requests per diagnostic trouble code per second.
dtcRequestIntervalSeconds
- The maximum number message requests per diagnostic trouble code per second.public void setUseExtendedIds(Boolean useExtendedIds)
Whether to use extended IDs in the message.
useExtendedIds
- Whether to use extended IDs in the message.public Boolean getUseExtendedIds()
Whether to use extended IDs in the message.
public ObdInterface withUseExtendedIds(Boolean useExtendedIds)
Whether to use extended IDs in the message.
useExtendedIds
- Whether to use extended IDs in the message.public Boolean isUseExtendedIds()
Whether to use extended IDs in the message.
public void setHasTransmissionEcu(Boolean hasTransmissionEcu)
Whether the vehicle has a transmission control module (TCM).
hasTransmissionEcu
- Whether the vehicle has a transmission control module (TCM).public Boolean getHasTransmissionEcu()
Whether the vehicle has a transmission control module (TCM).
public ObdInterface withHasTransmissionEcu(Boolean hasTransmissionEcu)
Whether the vehicle has a transmission control module (TCM).
hasTransmissionEcu
- Whether the vehicle has a transmission control module (TCM).public Boolean isHasTransmissionEcu()
Whether the vehicle has a transmission control module (TCM).
public String toString()
toString
in class Object
Object.toString()
public ObdInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.