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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.groupOwner(String groupOwner) groupPermission(String groupPermission) 
- 
Constructor Details- 
Builderpublic 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 are- rw(read-write) or- ro(read-only).
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty>
- Returns:
- a new instance of CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-