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