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