Interface ListVirtualMachinesResponse.Builder

  • Method Details

    • 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.
    • virtualMachines

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

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

      ListVirtualMachinesResponse.Builder virtualMachines(VirtualMachine... virtualMachines)

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

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

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

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

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

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