Class CfnDevice.DeviceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDevice.DeviceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDevice.DeviceProperty>
- Enclosing interface:
- CfnDevice.DeviceProperty
@Stability(Stable)
public static final class CfnDevice.DeviceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDevice.DeviceProperty>
A builder for
CfnDevice.DeviceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDevice.DeviceProperty.getDescription()deviceName(String deviceName) Sets the value ofCfnDevice.DeviceProperty.getDeviceName()iotThingName(String iotThingName) Sets the value ofCfnDevice.DeviceProperty.getIotThingName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceName
Sets the value ofCfnDevice.DeviceProperty.getDeviceName()- Parameters:
deviceName- The name of the device. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnDevice.DeviceProperty.getDescription()- Parameters:
description- Description of the device.- Returns:
this
-
iotThingName
Sets the value ofCfnDevice.DeviceProperty.getIotThingName()- Parameters:
iotThingName- AWS Internet of Things (IoT) object name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDevice.DeviceProperty>- Returns:
- a new instance of
CfnDevice.DeviceProperty - Throws:
NullPointerException- if any required attribute was not provided
-