Class CfnDecoderManifest.CanNetworkInterfaceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnDecoderManifest.CanNetworkInterfaceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDecoderManifest.CanNetworkInterfaceProperty>
- Enclosing interface:
CfnDecoderManifest.CanNetworkInterfaceProperty
@Stability(Stable)
public static final class CfnDecoderManifest.CanNetworkInterfaceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDecoderManifest.CanNetworkInterfaceProperty>
A builder for
CfnDecoderManifest.CanNetworkInterfaceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.canInterface
(IResolvable canInterface) Sets the value ofCfnDecoderManifest.CanNetworkInterfaceProperty.getCanInterface()
canInterface
(CfnDecoderManifest.CanInterfaceProperty canInterface) Sets the value ofCfnDecoderManifest.CanNetworkInterfaceProperty.getCanInterface()
interfaceId
(String interfaceId) Sets the value ofCfnDecoderManifest.CanNetworkInterfaceProperty.getInterfaceId()
Sets the value ofCfnDecoderManifest.CanNetworkInterfaceProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
canInterface
@Stability(Stable) public CfnDecoderManifest.CanNetworkInterfaceProperty.Builder canInterface(IResolvable canInterface) Sets the value ofCfnDecoderManifest.CanNetworkInterfaceProperty.getCanInterface()
- Parameters:
canInterface
- Information about a network interface specified by the Controller Area Network (CAN) protocol. This parameter is required.- Returns:
this
-
canInterface
@Stability(Stable) public CfnDecoderManifest.CanNetworkInterfaceProperty.Builder canInterface(CfnDecoderManifest.CanInterfaceProperty canInterface) Sets the value ofCfnDecoderManifest.CanNetworkInterfaceProperty.getCanInterface()
- Parameters:
canInterface
- Information about a network interface specified by the Controller Area Network (CAN) protocol. This parameter is required.- Returns:
this
-
interfaceId
@Stability(Stable) public CfnDecoderManifest.CanNetworkInterfaceProperty.Builder interfaceId(String interfaceId) Sets the value ofCfnDecoderManifest.CanNetworkInterfaceProperty.getInterfaceId()
- Parameters:
interfaceId
- The ID of the network interface. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnDecoderManifest.CanNetworkInterfaceProperty.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.CanNetworkInterfaceProperty>
- Returns:
- a new instance of
CfnDecoderManifest.CanNetworkInterfaceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-