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 Details

    • create

      @Stability(Stable) public static CfnDatasetGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDatasetGroup.Builder.
    • name

      @Stability(Stable) public CfnDatasetGroup.Builder name(String name)
      The name of the dataset group.

      Parameters:
      name - The name of the dataset group. This parameter is required.
      Returns:
      this
    • domain

      @Stability(Stable) public CfnDatasetGroup.Builder domain(String domain)
      The domain of a Domain dataset group.

      Parameters:
      domain - The domain of a Domain dataset group. This parameter is required.
      Returns:
      this
    • kmsKeyArn

      @Stability(Stable) public CfnDatasetGroup.Builder kmsKeyArn(String 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

      @Stability(Stable) public CfnDatasetGroup.Builder roleArn(String 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

      @Stability(Stable) public CfnDatasetGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDatasetGroup>
      Returns:
      a newly built instance of CfnDatasetGroup.