Class CfnDeviceFleetProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDeviceFleetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeviceFleetProps>
- Enclosing interface:
- CfnDeviceFleetProps
@Stability(Stable)
public static final class CfnDeviceFleetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeviceFleetProps>
A builder for
CfnDeviceFleetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDeviceFleetProps.getDescription()deviceFleetName(String deviceFleetName) Sets the value ofCfnDeviceFleetProps.getDeviceFleetName()outputConfig(IResolvable outputConfig) Sets the value ofCfnDeviceFleetProps.getOutputConfig()outputConfig(CfnDeviceFleet.EdgeOutputConfigProperty outputConfig) Sets the value ofCfnDeviceFleetProps.getOutputConfig()Sets the value ofCfnDeviceFleetProps.getRoleArn()Sets the value ofCfnDeviceFleetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceFleetName
Sets the value ofCfnDeviceFleetProps.getDeviceFleetName()- Parameters:
deviceFleetName- Name of the device fleet. This parameter is required.- Returns:
this
-
outputConfig
Sets the value ofCfnDeviceFleetProps.getOutputConfig()- Parameters:
outputConfig- The output configuration for storing sample data collected by the fleet. This parameter is required.- Returns:
this
-
outputConfig
@Stability(Stable) public CfnDeviceFleetProps.Builder outputConfig(CfnDeviceFleet.EdgeOutputConfigProperty outputConfig) Sets the value ofCfnDeviceFleetProps.getOutputConfig()- Parameters:
outputConfig- The output configuration for storing sample data collected by the fleet. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnDeviceFleetProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT). This parameter is required.- Returns:
this
-
description
Sets the value ofCfnDeviceFleetProps.getDescription()- Parameters:
description- A description of the fleet.- Returns:
this
-
tags
Sets the value ofCfnDeviceFleetProps.getTags()- Parameters:
tags- An array of key-value pairs that contain metadata to help you categorize and organize your device fleets. Each tag consists of a key and a value, both of which you define.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeviceFleetProps>- Returns:
- a new instance of
CfnDeviceFleetProps - Throws:
NullPointerException- if any required attribute was not provided
-