Interface ListVersionsResponse.Builder

    • Method Detail

      • versions

        ListVersionsResponse.Builder versions​(Collection<String> versions)

        A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.

        Parameters:
        versions - A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versions

        ListVersionsResponse.Builder versions​(String... versions)

        A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.

        Parameters:
        versions - A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListVersionsResponse.Builder nextToken​(String nextToken)

        When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

        Parameters:
        nextToken - When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.