Interface ListHypervisorsResponse.Builder

  • Method Details

    • hypervisors

      A list of your Hypervisor objects, ordered by their Amazon Resource Names (ARNs).

      Parameters:
      hypervisors - A list of your Hypervisor objects, ordered by their Amazon Resource Names (ARNs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hypervisors

      ListHypervisorsResponse.Builder hypervisors(Hypervisor... hypervisors)

      A list of your Hypervisor objects, ordered by their Amazon Resource Names (ARNs).

      Parameters:
      hypervisors - A list of your Hypervisor objects, ordered by their Amazon Resource Names (ARNs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hypervisors

      A list of your Hypervisor objects, ordered by their Amazon Resource Names (ARNs).

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

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

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

      The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

      Parameters:
      nextToken - The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.