Interface CreateDatasetGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDatasetGroupRequest.Builder,CreateDatasetGroupRequest>,PersonalizeRequest.Builder,SdkBuilder<CreateDatasetGroupRequest.Builder,CreateDatasetGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDatasetGroupRequest
public static interface CreateDatasetGroupRequest.Builder extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<CreateDatasetGroupRequest.Builder,CreateDatasetGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDatasetGroupRequest.Builderdomain(String domain)The domain of the dataset group.CreateDatasetGroupRequest.Builderdomain(Domain domain)The domain of the dataset group.CreateDatasetGroupRequest.BuilderkmsKeyArn(String kmsKeyArn)The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.CreateDatasetGroupRequest.Buildername(String name)The name for the new dataset group.CreateDatasetGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDatasetGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDatasetGroupRequest.BuilderroleArn(String roleArn)The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key.CreateDatasetGroupRequest.Buildertags(Collection<Tag> tags)A list of tags to apply to the dataset group.CreateDatasetGroupRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to apply to the dataset group.CreateDatasetGroupRequest.Buildertags(Tag... tags)A list of tags to apply to the dataset group.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateDatasetGroupRequest.Builder name(String 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
CreateDatasetGroupRequest.Builder roleArn(String 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
CreateDatasetGroupRequest.Builder kmsKeyArn(String 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
CreateDatasetGroupRequest.Builder domain(String 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,Domain
-
domain
CreateDatasetGroupRequest.Builder domain(Domain 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,Domain
-
tags
CreateDatasetGroupRequest.Builder tags(Collection<Tag> tags)
A list of tags to apply to the dataset group.
- Parameters:
tags- A list of tags to apply to the dataset group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDatasetGroupRequest.Builder tags(Tag... tags)
A list of tags to apply to the dataset group.
- Parameters:
tags- A list of tags to apply to the dataset group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDatasetGroupRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateDatasetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDatasetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-