Class CfnDecoderManifest.ObdInterfaceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnDecoderManifest.ObdInterfaceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDecoderManifest.ObdInterfaceProperty>
- Enclosing interface:
CfnDecoderManifest.ObdInterfaceProperty
@Stability(Stable)
public static final class CfnDecoderManifest.ObdInterfaceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDecoderManifest.ObdInterfaceProperty>
A builder for
CfnDecoderManifest.ObdInterfaceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dtcRequestIntervalSeconds
(String dtcRequestIntervalSeconds) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getDtcRequestIntervalSeconds()
hasTransmissionEcu
(String hasTransmissionEcu) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getHasTransmissionEcu()
Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getName()
obdStandard
(String obdStandard) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getObdStandard()
pidRequestIntervalSeconds
(String pidRequestIntervalSeconds) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getPidRequestIntervalSeconds()
requestMessageId
(String requestMessageId) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getRequestMessageId()
useExtendedIds
(String useExtendedIds) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getUseExtendedIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getName()
- Parameters:
name
- The name of the interface. This parameter is required.- Returns:
this
-
requestMessageId
@Stability(Stable) public CfnDecoderManifest.ObdInterfaceProperty.Builder requestMessageId(String requestMessageId) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getRequestMessageId()
- Parameters:
requestMessageId
- The ID of the message requesting vehicle data. This parameter is required.- Returns:
this
-
dtcRequestIntervalSeconds
@Stability(Stable) public CfnDecoderManifest.ObdInterfaceProperty.Builder dtcRequestIntervalSeconds(String dtcRequestIntervalSeconds) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getDtcRequestIntervalSeconds()
- Parameters:
dtcRequestIntervalSeconds
- (Optional) The maximum number message requests per diagnostic trouble code per second.- Returns:
this
-
hasTransmissionEcu
@Stability(Stable) public CfnDecoderManifest.ObdInterfaceProperty.Builder hasTransmissionEcu(String hasTransmissionEcu) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getHasTransmissionEcu()
- Parameters:
hasTransmissionEcu
- (Optional) Whether the vehicle has a transmission control module (TCM).- Returns:
this
-
obdStandard
@Stability(Stable) public CfnDecoderManifest.ObdInterfaceProperty.Builder obdStandard(String obdStandard) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getObdStandard()
- Parameters:
obdStandard
- (Optional) The standard OBD II PID.- Returns:
this
-
pidRequestIntervalSeconds
@Stability(Stable) public CfnDecoderManifest.ObdInterfaceProperty.Builder pidRequestIntervalSeconds(String pidRequestIntervalSeconds) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getPidRequestIntervalSeconds()
- Parameters:
pidRequestIntervalSeconds
- (Optional) The maximum number message requests per second.- Returns:
this
-
useExtendedIds
@Stability(Stable) public CfnDecoderManifest.ObdInterfaceProperty.Builder useExtendedIds(String useExtendedIds) Sets the value ofCfnDecoderManifest.ObdInterfaceProperty.getUseExtendedIds()
- Parameters:
useExtendedIds
- (Optional) Whether to use extended IDs in the message.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDecoderManifest.ObdInterfaceProperty>
- Returns:
- a new instance of
CfnDecoderManifest.ObdInterfaceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-