Class CfnDecoderManifest.ObdNetworkInterfaceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnDecoderManifest.ObdNetworkInterfaceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDecoderManifest.ObdNetworkInterfaceProperty>
- Enclosing interface:
CfnDecoderManifest.ObdNetworkInterfaceProperty
@Stability(Stable)
public static final class CfnDecoderManifest.ObdNetworkInterfaceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDecoderManifest.ObdNetworkInterfaceProperty>
A builder for
CfnDecoderManifest.ObdNetworkInterfaceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.interfaceId(String interfaceId) Sets the value ofCfnDecoderManifest.ObdNetworkInterfaceProperty.getInterfaceId()obdInterface(IResolvable obdInterface) Sets the value ofCfnDecoderManifest.ObdNetworkInterfaceProperty.getObdInterface()obdInterface(CfnDecoderManifest.ObdInterfaceProperty obdInterface) Sets the value ofCfnDecoderManifest.ObdNetworkInterfaceProperty.getObdInterface()Sets the value ofCfnDecoderManifest.ObdNetworkInterfaceProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
interfaceId
@Stability(Stable) public CfnDecoderManifest.ObdNetworkInterfaceProperty.Builder interfaceId(String interfaceId) Sets the value ofCfnDecoderManifest.ObdNetworkInterfaceProperty.getInterfaceId()- Parameters:
interfaceId- The ID of the network interface. This parameter is required.- Returns:
this
-
obdInterface
@Stability(Stable) public CfnDecoderManifest.ObdNetworkInterfaceProperty.Builder obdInterface(IResolvable obdInterface) Sets the value ofCfnDecoderManifest.ObdNetworkInterfaceProperty.getObdInterface()- Parameters:
obdInterface- Information about a network interface specified by the On-board diagnostic (OBD) II protocol. This parameter is required.- Returns:
this
-
obdInterface
@Stability(Stable) public CfnDecoderManifest.ObdNetworkInterfaceProperty.Builder obdInterface(CfnDecoderManifest.ObdInterfaceProperty obdInterface) Sets the value ofCfnDecoderManifest.ObdNetworkInterfaceProperty.getObdInterface()- Parameters:
obdInterface- Information about a network interface specified by the On-board diagnostic (OBD) II protocol. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnDecoderManifest.ObdNetworkInterfaceProperty.getType()- Parameters:
type- The network protocol for the vehicle. This parameter is required. For example,CAN_SIGNALspecifies a protocol that defines how data is communicated between electronic control units (ECUs).OBD_SIGNALspecifies a protocol that defines how self-diagnostic data is communicated between ECUs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDecoderManifest.ObdNetworkInterfaceProperty>- Returns:
- a new instance of
CfnDecoderManifest.ObdNetworkInterfaceProperty - Throws:
NullPointerException- if any required attribute was not provided
-