Class CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty>
- Enclosing interface:
CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty
@Stability(Stable)
public static final class CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty>
-
Constructor Summary
-
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 CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty.Builder groupOwner(String groupOwner) - Parameters:
groupOwner
- The group owner of the machine learning resource. This parameter is required. 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 CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty.Builder groupPermission(String groupPermission) Sets the value ofCfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty.getGroupPermission()
- Parameters:
groupPermission
- The permissions that the group owner has to the machine learning resource. This parameter is required. Valid values arerw
(read-write) orro
(read-only).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty>
- Returns:
- a new instance of
CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-