Class CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.greengrass.CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty>
- Enclosing interface:
CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty
@Stability(Stable)
public static final class CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinitionVersionPropsMixin.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 CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder groupOwner(String groupOwner) Sets the value ofCfnResourceDefinitionVersionPropsMixin.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 CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty.Builder groupPermission(String groupPermission) Sets the value ofCfnResourceDefinitionVersionPropsMixin.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 CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty>- Returns:
- a new instance of
CfnResourceDefinitionVersionPropsMixin.ResourceDownloadOwnerSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-