Class CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty>
- Enclosing interface:
CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty
@Stability(Stable)
public static final class CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoAddGroupOwner(Boolean autoAddGroupOwner) autoAddGroupOwner(IResolvable autoAddGroupOwner) build()Builds the configured instance.groupOwner(String groupOwner)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoAddGroupOwner
@Stability(Stable) public CfnResourceDefinitionPropsMixin.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 gives the Lambda process the file access permissions of the Linux group.- Returns:
this
-
autoAddGroupOwner
@Stability(Stable) public CfnResourceDefinitionPropsMixin.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 gives the Lambda process the file access permissions of the Linux group.- Returns:
this
-
groupOwner
@Stability(Stable) public CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty.Builder groupOwner(String groupOwner) - Parameters:
groupOwner- The name of the Linux group whose privileges you want to add to the Lambda process. This value is ignored ifAutoAddGroupOwneris true.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty>- Returns:
- a new instance of
CfnResourceDefinitionPropsMixin.GroupOwnerSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-