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 AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key.
-
Method Details
-
create
@Stability(Stable) public static CfnDatasetGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
domain
The domain of a Domain dataset group.- Parameters:
domain
- The domain of a Domain dataset group. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
roleArn
The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key.Supplying an IAM role is only valid when also specifying a KMS key.
- Parameters:
roleArn
- The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDatasetGroup>
- Returns:
- a newly built instance of
CfnDatasetGroup
.
-