Class CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty>
- Enclosing interface:
CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty
@Stability(Stable)
public static final class CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.groupOwner(String groupOwner) groupPermission(String groupPermission)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupOwner
@Stability(Stable) public CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder groupOwner(String groupOwner) Sets the value ofCfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty.getGroupOwner()- Parameters:
groupOwner- The group owner of the machine learning resource. This is the group ID (GID) of an existing Linux OS group on the system. The group's permissions are added to the Lambda process.- Returns:
this
-
groupPermission
@Stability(Stable) public CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder groupPermission(String groupPermission) Sets the value ofCfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty.getGroupPermission()- Parameters:
groupPermission- The permissions that the group owner has to the machine learning resource. Valid values arerw(read-write) orro(read-only).- Returns:
this
-
build
@Stability(Stable) public CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty>- Returns:
- a new instance of
CfnResourceDefinitionPropsMixin.ResourceDownloadOwnerSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-