Interface CreateDatasetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDatasetRequest.Builder,
,CreateDatasetRequest> PersonalizeRequest.Builder
,SdkBuilder<CreateDatasetRequest.Builder,
,CreateDatasetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDatasetRequest
public static interface CreateDatasetRequest.Builder
extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondatasetGroupArn
(String datasetGroupArn) The Amazon Resource Name (ARN) of the dataset group to add the dataset to.datasetType
(String datasetType) The type of dataset.The name for the dataset.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the schema to associate with the dataset.tags
(Collection<Tag> tags) A list of tags to apply to the dataset.tags
(Consumer<Tag.Builder>... tags) A list of tags to apply to the dataset.A list of tags to apply to the dataset.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, sdkFields
-
Method Details
-
name
The name for the dataset.
- Parameters:
name
- The name for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaArn
The ARN of the schema to associate with the dataset. The schema defines the dataset fields.
- Parameters:
schemaArn
- The ARN of the schema to associate with the dataset. The schema defines the dataset fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetGroupArn
The Amazon Resource Name (ARN) of the dataset group to add the dataset to.
- Parameters:
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group to add the dataset to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetType
The type of dataset.
One of the following (case insensitive) values:
-
Interactions
-
Items
-
Users
-
Actions
-
Action_Interactions
- Parameters:
datasetType
- The type of dataset.One of the following (case insensitive) values:
-
Interactions
-
Items
-
Users
-
Actions
-
Action_Interactions
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
-
tags
-
tags
A list of tags to apply to the dataset.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
CreateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-