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 Details

    • 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

      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:
    • 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 the DatasetInputDataConfig.Builder avoiding the need to create one manually via DatasetInputDataConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to inputDataConfig(DatasetInputDataConfig).

      Parameters:
      inputDataConfig - a consumer that will call methods on DatasetInputDataConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.