Class CfnWirelessDeviceImportTask.SidewalkProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotwireless.CfnWirelessDeviceImportTask.SidewalkProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWirelessDeviceImportTask.SidewalkProperty>
- Enclosing interface:
- CfnWirelessDeviceImportTask.SidewalkProperty
@Stability(Stable)
public static final class CfnWirelessDeviceImportTask.SidewalkProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWirelessDeviceImportTask.SidewalkProperty>
A builder for
CfnWirelessDeviceImportTask.SidewalkProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.deviceCreationFile
(String deviceCreationFile) Sets the value ofCfnWirelessDeviceImportTask.SidewalkProperty.getDeviceCreationFile()
deviceCreationFileList
(List<String> deviceCreationFileList) Sets the value ofCfnWirelessDeviceImportTask.SidewalkProperty.getDeviceCreationFileList()
Sets the value ofCfnWirelessDeviceImportTask.SidewalkProperty.getRole()
sidewalkManufacturingSn
(String sidewalkManufacturingSn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceCreationFile
@Stability(Stable) public CfnWirelessDeviceImportTask.SidewalkProperty.Builder deviceCreationFile(String deviceCreationFile) Sets the value ofCfnWirelessDeviceImportTask.SidewalkProperty.getDeviceCreationFile()
- Parameters:
deviceCreationFile
- The CSV file contained in an S3 bucket that's used for adding devices to an import task.- Returns:
this
-
deviceCreationFileList
@Stability(Stable) public CfnWirelessDeviceImportTask.SidewalkProperty.Builder deviceCreationFileList(List<String> deviceCreationFileList) Sets the value ofCfnWirelessDeviceImportTask.SidewalkProperty.getDeviceCreationFileList()
- Parameters:
deviceCreationFileList
- List of Sidewalk devices that are added to the import task.- Returns:
this
-
role
Sets the value ofCfnWirelessDeviceImportTask.SidewalkProperty.getRole()
- Parameters:
role
- The IAM role that allows AWS IoT Wireless to access the CSV file in the S3 bucket.- Returns:
this
-
sidewalkManufacturingSn
@Stability(Stable) public CfnWirelessDeviceImportTask.SidewalkProperty.Builder sidewalkManufacturingSn(String sidewalkManufacturingSn) - Parameters:
sidewalkManufacturingSn
- The Sidewalk manufacturing serial number (SMSN) of the Sidewalk device.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWirelessDeviceImportTask.SidewalkProperty>
- Returns:
- a new instance of
CfnWirelessDeviceImportTask.SidewalkProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-