Interface GetSnapshotsResponse.Builder

    • Method Detail

      • snapShotTimeFilter

        GetSnapshotsResponse.Builder snapShotTimeFilter​(TimeRange snapShotTimeFilter)

        The Unix timestamp for the beginning and end of the time window for the search metrics data.

        Parameters:
        snapShotTimeFilter - The Unix timestamp for the beginning and end of the time window for the search metrics data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotsDataHeader

        GetSnapshotsResponse.Builder snapshotsDataHeader​(Collection<String> snapshotsDataHeader)

        The column headers for the search metrics data.

        Parameters:
        snapshotsDataHeader - The column headers for the search metrics data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotsDataHeader

        GetSnapshotsResponse.Builder snapshotsDataHeader​(String... snapshotsDataHeader)

        The column headers for the search metrics data.

        Parameters:
        snapshotsDataHeader - The column headers for the search metrics data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotsData

        GetSnapshotsResponse.Builder snapshotsData​(Collection<? extends Collection<String>> snapshotsData)

        The search metrics data. The data returned depends on the metric type you requested.

        Parameters:
        snapshotsData - The search metrics data. The data returned depends on the metric type you requested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotsData

        GetSnapshotsResponse.Builder snapshotsData​(Collection<String>... snapshotsData)

        The search metrics data. The data returned depends on the metric type you requested.

        Parameters:
        snapshotsData - The search metrics data. The data returned depends on the metric type you requested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetSnapshotsResponse.Builder nextToken​(String nextToken)

        If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of search metrics data.

        Parameters:
        nextToken - If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of search metrics data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.