public static final class CfnResourceDefinition.GroupOwnerSettingProperty.Builder
extends java.lang.Object
CfnResourceDefinition.GroupOwnerSettingProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnResourceDefinition.GroupOwnerSettingProperty.Builder |
autoAddGroupOwner(java.lang.Boolean autoAddGroupOwner)
Sets the value of
CfnResourceDefinition.GroupOwnerSettingProperty.getAutoAddGroupOwner() |
CfnResourceDefinition.GroupOwnerSettingProperty.Builder |
autoAddGroupOwner(IResolvable autoAddGroupOwner)
Sets the value of
CfnResourceDefinition.GroupOwnerSettingProperty.getAutoAddGroupOwner() |
CfnResourceDefinition.GroupOwnerSettingProperty |
build()
Builds the configured instance.
|
CfnResourceDefinition.GroupOwnerSettingProperty.Builder |
groupOwner(java.lang.String groupOwner)
Sets the value of
CfnResourceDefinition.GroupOwnerSettingProperty.getGroupOwner() |
public CfnResourceDefinition.GroupOwnerSettingProperty.Builder autoAddGroupOwner(java.lang.Boolean autoAddGroupOwner)
CfnResourceDefinition.GroupOwnerSettingProperty.getAutoAddGroupOwner()
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.this
public CfnResourceDefinition.GroupOwnerSettingProperty.Builder autoAddGroupOwner(IResolvable autoAddGroupOwner)
CfnResourceDefinition.GroupOwnerSettingProperty.getAutoAddGroupOwner()
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.this
public CfnResourceDefinition.GroupOwnerSettingProperty.Builder groupOwner(java.lang.String groupOwner)
CfnResourceDefinition.GroupOwnerSettingProperty.getGroupOwner()
groupOwner
- The name of the Linux group whose privileges you want to add to the Lambda process.
This value is ignored if AutoAddGroupOwner
is true.this
public CfnResourceDefinition.GroupOwnerSettingProperty build()
CfnResourceDefinition.GroupOwnerSettingProperty
java.lang.NullPointerException
- if any required attribute was not provided