Class CfnResourceDefinition.GroupOwnerSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinition.GroupOwnerSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinition.GroupOwnerSettingProperty>
- Enclosing interface:
- CfnResourceDefinition.GroupOwnerSettingProperty
@Stability(Stable)
public static final class CfnResourceDefinition.GroupOwnerSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinition.GroupOwnerSettingProperty>
A builder for
CfnResourceDefinition.GroupOwnerSettingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoAddGroupOwner
(Boolean autoAddGroupOwner) Sets the value ofCfnResourceDefinition.GroupOwnerSettingProperty.getAutoAddGroupOwner()
autoAddGroupOwner
(IResolvable autoAddGroupOwner) Sets the value ofCfnResourceDefinition.GroupOwnerSettingProperty.getAutoAddGroupOwner()
build()
Builds the configured instance.groupOwner
(String groupOwner) Sets the value ofCfnResourceDefinition.GroupOwnerSettingProperty.getGroupOwner()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoAddGroupOwner
@Stability(Stable) public CfnResourceDefinition.GroupOwnerSettingProperty.Builder autoAddGroupOwner(Boolean autoAddGroupOwner) Sets the value ofCfnResourceDefinition.GroupOwnerSettingProperty.getAutoAddGroupOwner()
- Parameters:
autoAddGroupOwner
- Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process. This parameter is required. This gives the Lambda process the file access permissions of the Linux group.- Returns:
this
-
autoAddGroupOwner
@Stability(Stable) public CfnResourceDefinition.GroupOwnerSettingProperty.Builder autoAddGroupOwner(IResolvable autoAddGroupOwner) Sets the value ofCfnResourceDefinition.GroupOwnerSettingProperty.getAutoAddGroupOwner()
- Parameters:
autoAddGroupOwner
- Indicates whether to give the privileges of the Linux group that owns the resource to the Lambda process. This parameter is required. This gives the Lambda process the file access permissions of the Linux group.- Returns:
this
-
groupOwner
@Stability(Stable) public CfnResourceDefinition.GroupOwnerSettingProperty.Builder groupOwner(String groupOwner) Sets the value ofCfnResourceDefinition.GroupOwnerSettingProperty.getGroupOwner()
- Parameters:
groupOwner
- The name of the Linux group whose privileges you want to add to the Lambda process. This value is ignored ifAutoAddGroupOwner
is true.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceDefinition.GroupOwnerSettingProperty>
- Returns:
- a new instance of
CfnResourceDefinition.GroupOwnerSettingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-