public static interface ListVirtualMachinesResponse.Builder extends BackupGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListVirtualMachinesResponse.Builder,ListVirtualMachinesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListVirtualMachinesResponse.Builder |
nextToken(String nextToken)
The next item following a partial list of returned resources.
|
ListVirtualMachinesResponse.Builder |
virtualMachines(Collection<VirtualMachine> virtualMachines)
A list of your
VirtualMachine objects, ordered by their Amazon Resource Names (ARNs). |
ListVirtualMachinesResponse.Builder |
virtualMachines(Consumer<VirtualMachine.Builder>... virtualMachines)
A list of your
VirtualMachine objects, ordered by their Amazon Resource Names (ARNs). |
ListVirtualMachinesResponse.Builder |
virtualMachines(VirtualMachine... virtualMachines)
A list of your
VirtualMachine objects, ordered by their Amazon Resource Names (ARNs). |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListVirtualMachinesResponse.Builder nextToken(String 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.
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.ListVirtualMachinesResponse.Builder virtualMachines(Collection<VirtualMachine> virtualMachines)
A list of your VirtualMachine objects, ordered by their Amazon Resource Names (ARNs).
virtualMachines - A list of your VirtualMachine objects, ordered by their Amazon Resource Names (ARNs).ListVirtualMachinesResponse.Builder virtualMachines(VirtualMachine... virtualMachines)
A list of your VirtualMachine objects, ordered by their Amazon Resource Names (ARNs).
virtualMachines - A list of your VirtualMachine objects, ordered by their Amazon Resource Names (ARNs).ListVirtualMachinesResponse.Builder virtualMachines(Consumer<VirtualMachine.Builder>... virtualMachines)
A list of your VirtualMachine objects, ordered by their Amazon Resource Names (ARNs).
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #virtualMachines(List) .virtualMachines - a consumer that will call methods on List.Builder #virtualMachines(List) Copyright © 2022. All rights reserved.