Interface CreateDatasetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<CreateDatasetRequest.Builder,,CreateDatasetRequest> SdkBuilder<CreateDatasetRequest.Builder,,CreateDatasetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDatasetRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) A unique identifier for the request.datasetName(String datasetName) Name of the dataset.datasetType(String datasetType) The dataset type.datasetType(DatasetType datasetType) The dataset type.description(String description) Description of the dataset.flywheelArn(String flywheelArn) The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.default CreateDatasetRequest.BuilderinputDataConfig(Consumer<DatasetInputDataConfig.Builder> inputDataConfig) Information about the input data configuration.inputDataConfig(DatasetInputDataConfig inputDataConfig) Information about the input data configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) Tags for the dataset.tags(Consumer<Tag.Builder>... tags) Tags for the dataset.Tags for the dataset.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
flywheelArn
The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.
- Parameters:
flywheelArn- The Amazon Resource Number (ARN) of the flywheel of the flywheel to receive the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetName
Name of the dataset.
- Parameters:
datasetName- Name of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetType
The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.
- Parameters:
datasetType- The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datasetType
The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.
- Parameters:
datasetType- The dataset type. You can specify that the data in a dataset is for training the model or for testing the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
Description of the dataset.
- Parameters:
description- Description of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model.
- Parameters:
inputDataConfig- Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
default CreateDatasetRequest.Builder inputDataConfig(Consumer<DatasetInputDataConfig.Builder> inputDataConfig) Information about the input data configuration. The type of input data varies based on the format of the input and whether the data is for a classifier model or an entity recognition model.
This is a convenience method that creates an instance of theDatasetInputDataConfig.Builderavoiding the need to create one manually viaDatasetInputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputDataConfig(DatasetInputDataConfig).- Parameters:
inputDataConfig- a consumer that will call methods onDatasetInputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
- Parameters:
clientRequestToken- A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags for the dataset.
- Parameters:
tags- Tags for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags for the dataset.
- Parameters:
tags- Tags for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags for 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 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-