Class CfnDatasetGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.personalize.CfnDatasetGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetGroupMixinProps>
- Enclosing interface:
CfnDatasetGroupMixinProps
@Stability(Stable)
public static final class CfnDatasetGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetGroupMixinProps>
A builder for
CfnDatasetGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDatasetGroupMixinProps.getDomain()Sets the value ofCfnDatasetGroupMixinProps.getKmsKeyArn()Sets the value ofCfnDatasetGroupMixinProps.getName()Sets the value ofCfnDatasetGroupMixinProps.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domain
Sets the value ofCfnDatasetGroupMixinProps.getDomain()- Parameters:
domain- The domain of a Domain dataset group.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnDatasetGroupMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.- Returns:
this
-
name
Sets the value ofCfnDatasetGroupMixinProps.getName()- Parameters:
name- The name of the dataset group.- Returns:
this
-
roleArn
Sets the value ofCfnDatasetGroupMixinProps.getRoleArn()- 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. Supplying an IAM role is only valid when also specifying a KMS key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetGroupMixinProps>- Returns:
- a new instance of
CfnDatasetGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-