@Generated(value="software.amazon.awssdk:codegen") public final class ObdSignal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ObdSignal.Builder,ObdSignal>
Information about signal messages using the on-board diagnostics (OBD) II protocol in a vehicle.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ObdSignal.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
bitMaskLength()
The number of bits to mask in a message.
|
Integer |
bitRightShift()
The number of positions to shift bits in the message.
|
static ObdSignal.Builder |
builder() |
Integer |
byteLength()
The length of a message.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
offset()
The offset used to calculate the signal value.
|
Integer |
pid()
The diagnostic code used to request data from a vehicle for this signal.
|
Integer |
pidResponseLength()
The length of the requested data.
|
Double |
scaling()
A multiplier used to decode the message.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ObdSignal.Builder> |
serializableBuilderClass() |
Integer |
serviceMode()
The mode of operation (diagnostic service) in a message.
|
Integer |
startByte()
Indicates the beginning of the message.
|
ObdSignal.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer pidResponseLength()
The length of the requested data.
public final Integer serviceMode()
The mode of operation (diagnostic service) in a message.
public final Integer pid()
The diagnostic code used to request data from a vehicle for this signal.
public final Double scaling()
A multiplier used to decode the message.
public final Double offset()
The offset used to calculate the signal value. Combined with scaling, the calculation is
value = raw_value * scaling + offset.
value = raw_value * scaling + offset.public final Integer startByte()
Indicates the beginning of the message.
public final Integer byteLength()
The length of a message.
public final Integer bitRightShift()
The number of positions to shift bits in the message.
public final Integer bitMaskLength()
The number of bits to mask in a message.
public ObdSignal.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ObdSignal.Builder,ObdSignal>public static ObdSignal.Builder builder()
public static Class<? extends ObdSignal.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.