Interface CreateDatasetRequest.Builder

    • 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.
      • 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.