Interface ListOntologiesResponse.Builder

  • Method Details

    • items

      One entry for each ontology that you own. Always present, and empty when you have none.

      Parameters:
      items - One entry for each ontology that you own. Always present, and empty when you have none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      One entry for each ontology that you own. Always present, and empty when you have none.

      Parameters:
      items - One entry for each ontology that you own. Always present, and empty when you have none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      One entry for each ontology that you own. Always present, and empty when you have none.

      This is a convenience method that creates an instance of the OntologySummary.Builder avoiding the need to create one manually via OntologySummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to items(List<OntologySummary>).

      Parameters:
      items - a consumer that will call methods on OntologySummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListOntologiesResponse.Builder nextToken(String nextToken)

      The token for the next page of results. Pass it as nextToken in your next request. Absent on the last page. Treat the token as opaque.

      Parameters:
      nextToken - The token for the next page of results. Pass it as nextToken in your next request. Absent on the last page. Treat the token as opaque.
      Returns:
      Returns a reference to this object so that method calls can be chained together.