Class CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty>
- Enclosing interface:
CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty
@Stability(Stable)
public static final class CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.groupOwnerSetting
(IResolvable groupOwnerSetting) groupOwnerSetting
(CfnResourceDefinitionVersion.GroupOwnerSettingProperty groupOwnerSetting) sourcePath
(String sourcePath)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourcePath
@Stability(Stable) public CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.Builder sourcePath(String sourcePath) - Parameters:
sourcePath
- The local absolute path of the device resource. This parameter is required. The source path for a device resource can refer only to a character device or block device under/dev
.- Returns:
this
-
groupOwnerSetting
@Stability(Stable) public CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.Builder groupOwnerSetting(IResolvable groupOwnerSetting) Sets the value ofCfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.getGroupOwnerSetting()
- Parameters:
groupOwnerSetting
- Settings that define additional Linux OS group permissions to give to the Lambda function process.- Returns:
this
-
groupOwnerSetting
@Stability(Stable) public CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.Builder groupOwnerSetting(CfnResourceDefinitionVersion.GroupOwnerSettingProperty groupOwnerSetting) Sets the value ofCfnResourceDefinitionVersion.LocalDeviceResourceDataProperty.getGroupOwnerSetting()
- Parameters:
groupOwnerSetting
- Settings that define additional Linux OS group permissions to give to the Lambda function process.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty>
- Returns:
- a new instance of
CfnResourceDefinitionVersion.LocalDeviceResourceDataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-