Interface CreateDatasetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>,SdkBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDatasetRequest
public static interface CreateDatasetRequest.Builder extends ComprehendRequest.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.services.comprehend.model.ComprehendRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
flywheelArn
CreateDatasetRequest.Builder flywheelArn(String 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
CreateDatasetRequest.Builder datasetName(String 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
CreateDatasetRequest.Builder datasetType(String 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,DatasetType
-
datasetType
CreateDatasetRequest.Builder datasetType(DatasetType 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,DatasetType
-
description
CreateDatasetRequest.Builder description(String 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
CreateDatasetRequest.Builder inputDataConfig(DatasetInputDataConfig 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:
inputDataConfig(DatasetInputDataConfig)
-
clientRequestToken
CreateDatasetRequest.Builder clientRequestToken(String 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
CreateDatasetRequest.Builder tags(Collection<Tag> 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
CreateDatasetRequest.Builder tags(Tag... 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
CreateDatasetRequest.Builder tags(Consumer<Tag.Builder>... 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 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
-
-