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 SummaryConstructors
- 
Method SummaryModifier 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- 
Builderpublic 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
 
- 
devicesSets 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
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnDeviceDefinitionVersionProps>
- Returns:
- a new instance of CfnDeviceDefinitionVersionProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-