Interface SearchViewsResponse.Builder

  • Method Details

    • views

      A list of views that match the search criteria.

      Parameters:
      views - A list of views that match the search criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • views

      A list of views that match the search criteria.

      Parameters:
      views - A list of views that match the search criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • views

      A list of views that match the search criteria.

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

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

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

      SearchViewsResponse.Builder nextToken(String nextToken)

      If there are additional results, this is the token for the next set of results.

      Parameters:
      nextToken - If there are additional results, this is the token for the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approximateTotalCount

      SearchViewsResponse.Builder approximateTotalCount(Long approximateTotalCount)

      The approximate total number of views that match the search criteria.

      Parameters:
      approximateTotalCount - The approximate total number of views that match the search criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.