Class CfnResourceDefinitionVersion.GroupOwnerSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinitionVersion.GroupOwnerSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinitionVersion.GroupOwnerSettingProperty>
- Enclosing interface:
CfnResourceDefinitionVersion.GroupOwnerSettingProperty
@Stability(Stable)
public static final class CfnResourceDefinitionVersion.GroupOwnerSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinitionVersion.GroupOwnerSettingProperty>
A builder for
CfnResourceDefinitionVersion.GroupOwnerSettingProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoAddGroupOwner
(Boolean autoAddGroupOwner) autoAddGroupOwner
(IResolvable autoAddGroupOwner) build()
Builds the configured instance.groupOwner
(String groupOwner) Sets the value ofCfnResourceDefinitionVersion.GroupOwnerSettingProperty.getGroupOwner()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoAddGroupOwner
@Stability(Stable) public CfnResourceDefinitionVersion.GroupOwnerSettingProperty.Builder autoAddGroupOwner(Boolean autoAddGroupOwner) - 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 CfnResourceDefinitionVersion.GroupOwnerSettingProperty.Builder autoAddGroupOwner(IResolvable autoAddGroupOwner) - 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 CfnResourceDefinitionVersion.GroupOwnerSettingProperty.Builder groupOwner(String groupOwner) Sets the value ofCfnResourceDefinitionVersion.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<CfnResourceDefinitionVersion.GroupOwnerSettingProperty>
- Returns:
- a new instance of
CfnResourceDefinitionVersion.GroupOwnerSettingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-