Interface CreateDatasetGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDatasetGroupRequest.Builder,,CreateDatasetGroupRequest> PersonalizeRequest.Builder,SdkBuilder<CreateDatasetGroupRequest.Builder,,CreateDatasetGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDatasetGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe domain of the dataset group.The domain of the dataset group.The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.The name for the new dataset group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key.tags(Collection<Tag> tags) A list of tags to apply to the dataset group.tags(Consumer<Tag.Builder>... tags) A list of tags to apply to the dataset group.A list of tags to apply to the dataset group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name for the new dataset group.
- Parameters:
name- The name for the new dataset group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
- Parameters:
roleArn- The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.
- Parameters:
domain- The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domain
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.
- Parameters:
domain- The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
-
tags
-
tags
A list of tags to apply to the dataset group.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateDatasetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDatasetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-