Class CfnDevicePropsMixin.DeviceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnDevicePropsMixin.DeviceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDevicePropsMixin.DeviceProperty>
- Enclosing interface:
CfnDevicePropsMixin.DeviceProperty
@Stability(Stable)
public static final class CfnDevicePropsMixin.DeviceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDevicePropsMixin.DeviceProperty>
A builder for
CfnDevicePropsMixin.DeviceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDevicePropsMixin.DeviceProperty.getDescription()deviceName(String deviceName) Sets the value ofCfnDevicePropsMixin.DeviceProperty.getDeviceName()iotThingName(String iotThingName) Sets the value ofCfnDevicePropsMixin.DeviceProperty.getIotThingName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnDevicePropsMixin.DeviceProperty.Builder description(String description) Sets the value ofCfnDevicePropsMixin.DeviceProperty.getDescription()- Parameters:
description- Description of the device.- Returns:
this
-
deviceName
Sets the value ofCfnDevicePropsMixin.DeviceProperty.getDeviceName()- Parameters:
deviceName- The name of the device.- Returns:
this
-
iotThingName
@Stability(Stable) public CfnDevicePropsMixin.DeviceProperty.Builder iotThingName(String iotThingName) Sets the value ofCfnDevicePropsMixin.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<CfnDevicePropsMixin.DeviceProperty>- Returns:
- a new instance of
CfnDevicePropsMixin.DeviceProperty - Throws:
NullPointerException- if any required attribute was not provided
-