Interface ObdSignal.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ObdSignal.Builder,
,ObdSignal> SdkBuilder<ObdSignal.Builder,
,ObdSignal> SdkPojo
- Enclosing class:
ObdSignal
public static interface ObdSignal.Builder
extends SdkPojo, CopyableBuilder<ObdSignal.Builder,ObdSignal>
-
Method Summary
Modifier and TypeMethodDescriptionbitMaskLength
(Integer bitMaskLength) The number of bits to mask in a message.bitRightShift
(Integer bitRightShift) The number of positions to shift bits in the message.byteLength
(Integer byteLength) The length of a message.The offset used to calculate the signal value.The diagnostic code used to request data from a vehicle for this signal.pidResponseLength
(Integer pidResponseLength) The length of the requested data.A multiplier used to decode the message.serviceMode
(Integer serviceMode) The mode of operation (diagnostic service) in a message.Indicates the beginning of the message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
pidResponseLength
The length of the requested data.
- Parameters:
pidResponseLength
- The length of the requested data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceMode
The mode of operation (diagnostic service) in a message.
- Parameters:
serviceMode
- The mode of operation (diagnostic service) in a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pid
The diagnostic code used to request data from a vehicle for this signal.
- Parameters:
pid
- The diagnostic code used to request data from a vehicle for this signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaling
A multiplier used to decode the message.
- Parameters:
scaling
- A multiplier used to decode the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offset
The offset used to calculate the signal value. Combined with scaling, the calculation is
value = raw_value * scaling + offset
.- Parameters:
offset
- The offset used to calculate the signal value. Combined with scaling, the calculation isvalue = raw_value * scaling + offset
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startByte
Indicates the beginning of the message.
- Parameters:
startByte
- Indicates the beginning of the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byteLength
The length of a message.
- Parameters:
byteLength
- The length of a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bitRightShift
The number of positions to shift bits in the message.
- Parameters:
bitRightShift
- The number of positions to shift bits in the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bitMaskLength
The number of bits to mask in a message.
- Parameters:
bitMaskLength
- The number of bits to mask in a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-