Class CfnFleetProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnFleetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetProps>
- Enclosing interface:
CfnFleetProps
@Stability(Stable)
public static final class CfnFleetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetProps>
A builder for
CfnFleetProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnFleetProps.getDescription()
Sets the value ofCfnFleetProps.getId()
signalCatalogArn
(String signalCatalogArn) Sets the value ofCfnFleetProps.getSignalCatalogArn()
Sets the value ofCfnFleetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnFleetProps.getId()
- Parameters:
id
- The unique ID of the fleet. This parameter is required.- Returns:
this
-
signalCatalogArn
Sets the value ofCfnFleetProps.getSignalCatalogArn()
- Parameters:
signalCatalogArn
- The ARN of the signal catalog associated with the fleet. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnFleetProps.getDescription()
- Parameters:
description
- (Optional) A brief description of the fleet.- Returns:
this
-
tags
Sets the value ofCfnFleetProps.getTags()
- Parameters:
tags
- (Optional) Metadata that can be used to manage the fleet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFleetProps>
- Returns:
- a new instance of
CfnFleetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-