Class CfnDeviceDefinitionVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnDeviceDefinitionVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeviceDefinitionVersionMixinProps>
- Enclosing interface:
CfnDeviceDefinitionVersionMixinProps
@Stability(Stable)
public static final class CfnDeviceDefinitionVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeviceDefinitionVersionMixinProps>
A builder for
CfnDeviceDefinitionVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deviceDefinitionId(String deviceDefinitionId) Sets the value ofCfnDeviceDefinitionVersionMixinProps.getDeviceDefinitionId()Sets the value ofCfnDeviceDefinitionVersionMixinProps.getDevices()devices(IResolvable devices) Sets the value ofCfnDeviceDefinitionVersionMixinProps.getDevices()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deviceDefinitionId
@Stability(Stable) public CfnDeviceDefinitionVersionMixinProps.Builder deviceDefinitionId(String deviceDefinitionId) Sets the value ofCfnDeviceDefinitionVersionMixinProps.getDeviceDefinitionId()- Parameters:
deviceDefinitionId- The ID of the device definition associated with this version. This value is a GUID.- Returns:
this
-
devices
Sets the value ofCfnDeviceDefinitionVersionMixinProps.getDevices()- Parameters:
devices- The devices in this version.- Returns:
this
-
devices
@Stability(Stable) public CfnDeviceDefinitionVersionMixinProps.Builder devices(List<? extends Object> devices) Sets the value ofCfnDeviceDefinitionVersionMixinProps.getDevices()- Parameters:
devices- The devices in this version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeviceDefinitionVersionMixinProps>- Returns:
- a new instance of
CfnDeviceDefinitionVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-