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
-
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 Detail
-
name
CreateDatasetRequest.Builder name(String 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
CreateDatasetRequest.Builder schemaArn(String 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
CreateDatasetRequest.Builder datasetGroupArn(String 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
CreateDatasetRequest.Builder datasetType(String 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
CreateDatasetRequest.Builder tags(Collection<Tag> tags)
A list of tags to apply to the dataset.
- Parameters:
tags- A list of tags to apply to the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDatasetRequest.Builder tags(Tag... tags)
A list of tags to apply to the dataset.
- Parameters:
tags- A list of tags to apply to the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDatasetRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to apply to the dataset.
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
CreateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-