Interface CreateDatasetRequest.Builder

    • Method Detail

      • datasetSource

        CreateDatasetRequest.Builder datasetSource​(DatasetSource datasetSource)

        The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource, an empty dataset is created. To add labeled images to the dataset, You can use the console or call UpdateDatasetEntries.

        Parameters:
        datasetSource - The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource, an empty dataset is created. To add labeled images to the dataset, You can use the console or call UpdateDatasetEntries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datasetType

        CreateDatasetRequest.Builder datasetType​(String datasetType)

        The type of the dataset. Specify TRAIN to create a training dataset. Specify TEST to create a test dataset.

        Parameters:
        datasetType - The type of the dataset. Specify TRAIN to create a training dataset. Specify TEST to create a test dataset.
        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 type of the dataset. Specify TRAIN to create a training dataset. Specify TEST to create a test dataset.

        Parameters:
        datasetType - The type of the dataset. Specify TRAIN to create a training dataset. Specify TEST to create a test dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DatasetType, DatasetType
      • projectArn

        CreateDatasetRequest.Builder projectArn​(String projectArn)

        The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.

        Parameters:
        projectArn - The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDatasetRequest.Builder tags​(Map<String,​String> tags)

        A set of tags (key-value pairs) that you want to attach to the dataset.

        Parameters:
        tags - A set of tags (key-value pairs) that you want to attach to the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.