Interface ListDatasetEntriesRequest.Builder

    • Method Detail

      • projectName

        ListDatasetEntriesRequest.Builder projectName​(String projectName)

        The name of the project that contains the dataset that you want to list.

        Parameters:
        projectName - The name of the project that contains the dataset that you want to list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datasetType

        ListDatasetEntriesRequest.Builder datasetType​(String datasetType)

        The type of the dataset that you want to list. Specify train to list the training dataset. Specify test to list the test dataset. If you have a single dataset project, specify train.

        Parameters:
        datasetType - The type of the dataset that you want to list. Specify train to list the training dataset. Specify test to list the test dataset. If you have a single dataset project, specify train.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labeled

        ListDatasetEntriesRequest.Builder labeled​(Boolean labeled)

        Specify true to include labeled entries, otherwise specify false. If you don't specify a value, Lookout for Vision returns all entries.

        Parameters:
        labeled - Specify true to include labeled entries, otherwise specify false. If you don't specify a value, Lookout for Vision returns all entries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • anomalyClass

        ListDatasetEntriesRequest.Builder anomalyClass​(String anomalyClass)

        Specify normal to include only normal images. Specify anomaly to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.

        Parameters:
        anomalyClass - Specify normal to include only normal images. Specify anomaly to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beforeCreationDate

        ListDatasetEntriesRequest.Builder beforeCreationDate​(Instant beforeCreationDate)

        Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.

        Parameters:
        beforeCreationDate - Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • afterCreationDate

        ListDatasetEntriesRequest.Builder afterCreationDate​(Instant afterCreationDate)

        Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00 .

        Parameters:
        afterCreationDate - Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListDatasetEntriesRequest.Builder nextToken​(String nextToken)

        If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.

        Parameters:
        nextToken - If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListDatasetEntriesRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

        Parameters:
        maxResults - The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceRefContains

        ListDatasetEntriesRequest.Builder sourceRefContains​(String sourceRefContains)

        Perform a "contains" search on the values of the source-ref key within the dataset. For example a value of "IMG_17" returns all JSON Lines where the source-ref key value matches *IMG_17*.

        Parameters:
        sourceRefContains - Perform a "contains" search on the values of the source-ref key within the dataset. For example a value of "IMG_17" returns all JSON Lines where the source-ref key value matches *IMG_17*.
        Returns:
        Returns a reference to this object so that method calls can be chained together.