Class CfnDecoderManifest.CanInterfaceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnDecoderManifest.CanInterfaceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDecoderManifest.CanInterfaceProperty>
- Enclosing interface:
CfnDecoderManifest.CanInterfaceProperty
@Stability(Stable)
public static final class CfnDecoderManifest.CanInterfaceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDecoderManifest.CanInterfaceProperty>
A builder for
CfnDecoderManifest.CanInterfaceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDecoderManifest.CanInterfaceProperty.getName()
protocolName
(String protocolName) Sets the value ofCfnDecoderManifest.CanInterfaceProperty.getProtocolName()
protocolVersion
(String protocolVersion) Sets the value ofCfnDecoderManifest.CanInterfaceProperty.getProtocolVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnDecoderManifest.CanInterfaceProperty.getName()
- Parameters:
name
- The unique name of the interface. This parameter is required.- Returns:
this
-
protocolName
@Stability(Stable) public CfnDecoderManifest.CanInterfaceProperty.Builder protocolName(String protocolName) Sets the value ofCfnDecoderManifest.CanInterfaceProperty.getProtocolName()
- Parameters:
protocolName
- (Optional) The name of the communication protocol for the interface.- Returns:
this
-
protocolVersion
@Stability(Stable) public CfnDecoderManifest.CanInterfaceProperty.Builder protocolVersion(String protocolVersion) Sets the value ofCfnDecoderManifest.CanInterfaceProperty.getProtocolVersion()
- Parameters:
protocolVersion
- (Optional) The version of the communication protocol for the interface.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDecoderManifest.CanInterfaceProperty>
- Returns:
- a new instance of
CfnDecoderManifest.CanInterfaceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-