Interface ObdSignal.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ObdSignal.Builder,,ObdSignal> SdkBuilder<ObdSignal.Builder,,ObdSignal> SdkPojo
- Enclosing class:
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.Determines whether the message is signed (true) or not (false).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.signalValueType(String signalValueType) The value type of the signal.signalValueType(SignalValueType signalValueType) The value type of the signal.Indicates the beginning of the message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.
-
isSigned
Determines whether the message is signed (
true) or not (false). If it's signed, the message can represent both positive and negative numbers. TheisSignedparameter only applies to theINTEGERraw signal type, and it doesn't affect theFLOATING_POINTraw signal type. The default value isfalse.- Parameters:
isSigned- Determines whether the message is signed (true) or not (false). If it's signed, the message can represent both positive and negative numbers. TheisSignedparameter only applies to theINTEGERraw signal type, and it doesn't affect theFLOATING_POINTraw signal type. The default value isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signalValueType
The value type of the signal. The default value is
INTEGER.- Parameters:
signalValueType- The value type of the signal. The default value isINTEGER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signalValueType
The value type of the signal. The default value is
INTEGER.- Parameters:
signalValueType- The value type of the signal. The default value isINTEGER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-