Class CfnResourceDefinition.ResourceDownloadOwnerSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnResourceDefinition.ResourceDownloadOwnerSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceDefinition.ResourceDownloadOwnerSettingProperty>
- Enclosing interface:
CfnResourceDefinition.ResourceDownloadOwnerSettingProperty
@Stability(Stable)
public static final class CfnResourceDefinition.ResourceDownloadOwnerSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceDefinition.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 CfnResourceDefinition.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 CfnResourceDefinition.ResourceDownloadOwnerSettingProperty.Builder groupPermission(String groupPermission) - 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<CfnResourceDefinition.ResourceDownloadOwnerSettingProperty>
- Returns:
- a new instance of
CfnResourceDefinition.ResourceDownloadOwnerSettingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-