Class CfnDeviceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnDeviceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeviceMixinProps>
- Enclosing interface:
CfnDeviceMixinProps
@Stability(Stable)
public static final class CfnDeviceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeviceMixinProps>
A builder for
CfnDeviceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeviceMixinProps.getDevice()device(IResolvable device) Sets the value ofCfnDeviceMixinProps.getDevice()deviceFleetName(String deviceFleetName) Sets the value ofCfnDeviceMixinProps.getDeviceFleetName()Sets the value ofCfnDeviceMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
device
Sets the value ofCfnDeviceMixinProps.getDevice()- Parameters:
device- Edge device you want to create.- Returns:
this
-
device
@Stability(Stable) public CfnDeviceMixinProps.Builder device(CfnDevicePropsMixin.DeviceProperty device) Sets the value ofCfnDeviceMixinProps.getDevice()- Parameters:
device- Edge device you want to create.- Returns:
this
-
deviceFleetName
Sets the value ofCfnDeviceMixinProps.getDeviceFleetName()- Parameters:
deviceFleetName- The name of the fleet the device belongs to.- Returns:
this
-
tags
Sets the value ofCfnDeviceMixinProps.getTags()- Parameters:
tags- An array of key-value pairs that contain metadata to help you categorize and organize your devices. 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<CfnDeviceMixinProps>- Returns:
- a new instance of
CfnDeviceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-