Class CfnResourceDefinition.LocalDeviceResourceDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinition.LocalDeviceResourceDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinition.LocalDeviceResourceDataProperty>
- Enclosing interface:
CfnResourceDefinition.LocalDeviceResourceDataProperty
@Stability(Stable)
public static final class CfnResourceDefinition.LocalDeviceResourceDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinition.LocalDeviceResourceDataProperty>
A builder for
CfnResourceDefinition.LocalDeviceResourceDataProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.groupOwnerSetting
(IResolvable groupOwnerSetting) groupOwnerSetting
(CfnResourceDefinition.GroupOwnerSettingProperty groupOwnerSetting) sourcePath
(String sourcePath) Sets the value ofCfnResourceDefinition.LocalDeviceResourceDataProperty.getSourcePath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourcePath
@Stability(Stable) public CfnResourceDefinition.LocalDeviceResourceDataProperty.Builder sourcePath(String sourcePath) Sets the value ofCfnResourceDefinition.LocalDeviceResourceDataProperty.getSourcePath()
- 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 CfnResourceDefinition.LocalDeviceResourceDataProperty.Builder groupOwnerSetting(IResolvable groupOwnerSetting) - Parameters:
groupOwnerSetting
- Settings that define additional Linux OS group permissions to give to the Lambda function process.- Returns:
this
-
groupOwnerSetting
@Stability(Stable) public CfnResourceDefinition.LocalDeviceResourceDataProperty.Builder groupOwnerSetting(CfnResourceDefinition.GroupOwnerSettingProperty groupOwnerSetting) - 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<CfnResourceDefinition.LocalDeviceResourceDataProperty>
- Returns:
- a new instance of
CfnResourceDefinition.LocalDeviceResourceDataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-