public static final class CfnDatasetGroupProps.Builder
extends java.lang.Object
CfnDatasetGroupProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDatasetGroupProps |
build()
Builds the configured instance.
|
CfnDatasetGroupProps.Builder |
domain(java.lang.String domain)
Sets the value of
CfnDatasetGroupProps.getDomain() |
CfnDatasetGroupProps.Builder |
kmsKeyArn(java.lang.String kmsKeyArn)
Sets the value of
CfnDatasetGroupProps.getKmsKeyArn() |
CfnDatasetGroupProps.Builder |
name(java.lang.String name)
Sets the value of
CfnDatasetGroupProps.getName() |
CfnDatasetGroupProps.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnDatasetGroupProps.getRoleArn() |
public CfnDatasetGroupProps.Builder name(java.lang.String name)
CfnDatasetGroupProps.getName()
name
- The name of the dataset group. This parameter is required.this
public CfnDatasetGroupProps.Builder domain(java.lang.String domain)
CfnDatasetGroupProps.getDomain()
domain
- The domain of a Domain dataset group.this
public CfnDatasetGroupProps.Builder kmsKeyArn(java.lang.String kmsKeyArn)
CfnDatasetGroupProps.getKmsKeyArn()
kmsKeyArn
- The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.this
public CfnDatasetGroupProps.Builder roleArn(java.lang.String roleArn)
CfnDatasetGroupProps.getRoleArn()
roleArn
- The ARN of the IAM role that has permissions to create the dataset group.this
public CfnDatasetGroupProps build()
CfnDatasetGroupProps
java.lang.NullPointerException
- if any required attribute was not provided