Class CfnDecoderManifest.CanSignalDecoderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnDecoderManifest.CanSignalDecoderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDecoderManifest.CanSignalDecoderProperty>
- Enclosing interface:
CfnDecoderManifest.CanSignalDecoderProperty
@Stability(Stable)
public static final class CfnDecoderManifest.CanSignalDecoderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDecoderManifest.CanSignalDecoderProperty>
A builder for
CfnDecoderManifest.CanSignalDecoderProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.canSignal
(IResolvable canSignal) Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getCanSignal()
canSignal
(CfnDecoderManifest.CanSignalProperty canSignal) Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getCanSignal()
fullyQualifiedName
(String fullyQualifiedName) Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getFullyQualifiedName()
interfaceId
(String interfaceId) Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getInterfaceId()
Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
canSignal
@Stability(Stable) public CfnDecoderManifest.CanSignalDecoderProperty.Builder canSignal(IResolvable canSignal) Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getCanSignal()
- Parameters:
canSignal
- Information about a single controller area network (CAN) signal and the messages it receives and transmits. This parameter is required.- Returns:
this
-
canSignal
@Stability(Stable) public CfnDecoderManifest.CanSignalDecoderProperty.Builder canSignal(CfnDecoderManifest.CanSignalProperty canSignal) Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getCanSignal()
- Parameters:
canSignal
- Information about a single controller area network (CAN) signal and the messages it receives and transmits. This parameter is required.- Returns:
this
-
fullyQualifiedName
@Stability(Stable) public CfnDecoderManifest.CanSignalDecoderProperty.Builder fullyQualifiedName(String fullyQualifiedName) Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getFullyQualifiedName()
- Parameters:
fullyQualifiedName
- The fully qualified name of a signal decoder as defined in a vehicle model. This parameter is required.- Returns:
this
-
interfaceId
@Stability(Stable) public CfnDecoderManifest.CanSignalDecoderProperty.Builder interfaceId(String interfaceId) Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getInterfaceId()
- Parameters:
interfaceId
- The ID of a network interface that specifies what network protocol a vehicle follows. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnDecoderManifest.CanSignalDecoderProperty.getType()
- Parameters:
type
- The network protocol for the vehicle. This parameter is required. For example,CAN_SIGNAL
specifies a protocol that defines how data is communicated between electronic control units (ECUs).OBD_SIGNAL
specifies a protocol that defines how self-diagnostic data is communicated between ECUs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDecoderManifest.CanSignalDecoderProperty>
- Returns:
- a new instance of
CfnDecoderManifest.CanSignalDecoderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-