Class CfnResourceDefinition.LocalVolumeResourceDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinition.LocalVolumeResourceDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinition.LocalVolumeResourceDataProperty>
- Enclosing interface:
CfnResourceDefinition.LocalVolumeResourceDataProperty
@Stability(Stable)
public static final class CfnResourceDefinition.LocalVolumeResourceDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinition.LocalVolumeResourceDataProperty>
A builder for
CfnResourceDefinition.LocalVolumeResourceDataProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationPath
(String destinationPath) groupOwnerSetting
(IResolvable groupOwnerSetting) groupOwnerSetting
(CfnResourceDefinition.GroupOwnerSettingProperty groupOwnerSetting) sourcePath
(String sourcePath) Sets the value ofCfnResourceDefinition.LocalVolumeResourceDataProperty.getSourcePath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationPath
@Stability(Stable) public CfnResourceDefinition.LocalVolumeResourceDataProperty.Builder destinationPath(String destinationPath) - Parameters:
destinationPath
- The absolute local path of the resource in the Lambda environment. This parameter is required.- Returns:
this
-
sourcePath
@Stability(Stable) public CfnResourceDefinition.LocalVolumeResourceDataProperty.Builder sourcePath(String sourcePath) Sets the value ofCfnResourceDefinition.LocalVolumeResourceDataProperty.getSourcePath()
- Parameters:
sourcePath
- The local absolute path of the volume resource on the host. This parameter is required. The source path for a volume resource type cannot start with/sys
.- Returns:
this
-
groupOwnerSetting
@Stability(Stable) public CfnResourceDefinition.LocalVolumeResourceDataProperty.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.LocalVolumeResourceDataProperty.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.LocalVolumeResourceDataProperty>
- Returns:
- a new instance of
CfnResourceDefinition.LocalVolumeResourceDataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-