Class CfnDatasetGroup.Builder
java.lang.Object
software.amazon.awscdk.services.personalize.CfnDatasetGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetGroup>
- Enclosing class:
- CfnDatasetGroup
@Stability(Stable)
public static final class CfnDatasetGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetGroup>
A fluent builder for
CfnDatasetGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDatasetGroup.Builder
The domain of a Domain dataset group.The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.The name of the dataset group.The ARN of the IAM role that has permissions to create the dataset group.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnDatasetGroup.Builder
.
-
name
The name of the dataset group.- Parameters:
name
- The name of the dataset group. This parameter is required.- Returns:
this
-
domain
The domain of a Domain dataset group.- Parameters:
domain
- The domain of a Domain dataset group. This parameter is required.- Returns:
this
-
kmsKeyArn
The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.- Parameters:
kmsKeyArn
- The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets. This parameter is required.- Returns:
this
-
roleArn
The ARN of the IAM role that has permissions to create the dataset group.- Parameters:
roleArn
- The ARN of the IAM role that has permissions to create the dataset group. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatasetGroup>
- Returns:
- a newly built instance of
CfnDatasetGroup
.
-