Class CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iotfleetwise.mixins.CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDecoderManifestPropsMixin.ObdSignalProperty>
- Enclosing interface:
CfnDecoderManifestPropsMixin.ObdSignalProperty
@Stability(Stable)
public static final class CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDecoderManifestPropsMixin.ObdSignalProperty>
A builder for
CfnDecoderManifestPropsMixin.ObdSignalProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbitMaskLength(String bitMaskLength) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getBitMaskLength()bitRightShift(String bitRightShift) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getBitRightShift()build()Builds the configured instance.byteLength(String byteLength) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getByteLength()Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getIsSigned()Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getIsSigned()isSigned(IResolvable isSigned) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getIsSigned()Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getOffset()Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getPid()pidResponseLength(String pidResponseLength) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getPidResponseLength()Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getScaling()serviceMode(String serviceMode) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getServiceMode()signalValueType(String signalValueType) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getSignalValueType()Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getStartByte()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bitMaskLength
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder bitMaskLength(String bitMaskLength) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getBitMaskLength()- Parameters:
bitMaskLength- The number of bits to mask in a message.- Returns:
this
-
bitRightShift
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder bitRightShift(String bitRightShift) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getBitRightShift()- Parameters:
bitRightShift- The number of positions to shift bits in the message.- Returns:
this
-
byteLength
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder byteLength(String byteLength) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getByteLength()- Parameters:
byteLength- The length of a message.- Returns:
this
-
isSigned
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder isSigned(String isSigned) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getIsSigned()- 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:
this
-
isSigned
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder isSigned(Boolean isSigned) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getIsSigned()- 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:
this
-
isSigned
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder isSigned(IResolvable isSigned) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getIsSigned()- 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:
this
-
offset
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder offset(String offset) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getOffset()- Parameters:
offset- The offset used to calculate the signal value. Combined with scaling, the calculation isvalue = raw_value * scaling + offset.- Returns:
this
-
pid
Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getPid()- Parameters:
pid- The diagnostic code used to request data from a vehicle for this signal.- Returns:
this
-
pidResponseLength
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder pidResponseLength(String pidResponseLength) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getPidResponseLength()- Parameters:
pidResponseLength- The length of the requested data.- Returns:
this
-
scaling
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder scaling(String scaling) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getScaling()- Parameters:
scaling- A multiplier used to decode the message.- Returns:
this
-
serviceMode
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder serviceMode(String serviceMode) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getServiceMode()- Parameters:
serviceMode- The mode of operation (diagnostic service) in a message.- Returns:
this
-
signalValueType
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder signalValueType(String signalValueType) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getSignalValueType()- Parameters:
signalValueType- The value type of the signal. The default value isINTEGER.- Returns:
this
-
startByte
@Stability(Stable) public CfnDecoderManifestPropsMixin.ObdSignalProperty.Builder startByte(String startByte) Sets the value ofCfnDecoderManifestPropsMixin.ObdSignalProperty.getStartByte()- Parameters:
startByte- Indicates the beginning of the message.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDecoderManifestPropsMixin.ObdSignalProperty>- Returns:
- a new instance of
CfnDecoderManifestPropsMixin.ObdSignalProperty - Throws:
NullPointerException- if any required attribute was not provided
-