Interface ListVirtualMachinesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- BackupGatewayResponse.Builder,- Buildable,- CopyableBuilder<ListVirtualMachinesResponse.Builder,,- ListVirtualMachinesResponse> - SdkBuilder<ListVirtualMachinesResponse.Builder,,- ListVirtualMachinesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListVirtualMachinesResponse
@Mutable
@NotThreadSafe
public static interface ListVirtualMachinesResponse.Builder
extends BackupGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListVirtualMachinesResponse.Builder,ListVirtualMachinesResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionThe next item following a partial list of returned resources.virtualMachines(Collection<VirtualMachine> virtualMachines) A list of yourVirtualMachineobjects, ordered by their Amazon Resource Names (ARNs).virtualMachines(Consumer<VirtualMachine.Builder>... virtualMachines) A list of yourVirtualMachineobjects, ordered by their Amazon Resource Names (ARNs).virtualMachines(VirtualMachine... virtualMachines) A list of yourVirtualMachineobjects, ordered by their Amazon Resource Names (ARNs).Methods inherited from interface software.amazon.awssdk.services.backupgateway.model.BackupGatewayResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
nextTokenThe next item following a partial list of returned resources. For example, if a request is made to return maxResultsnumber of resources,NextTokenallows 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- maxResultsnumber of resources,- NextTokenallows 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.
 
- 
virtualMachinesA list of your VirtualMachineobjects, ordered by their Amazon Resource Names (ARNs).- Parameters:
- virtualMachines- A list of your- VirtualMachineobjects, ordered by their Amazon Resource Names (ARNs).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
virtualMachinesA list of your VirtualMachineobjects, ordered by their Amazon Resource Names (ARNs).- Parameters:
- virtualMachines- A list of your- VirtualMachineobjects, ordered by their Amazon Resource Names (ARNs).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
virtualMachinesListVirtualMachinesResponse.Builder virtualMachines(Consumer<VirtualMachine.Builder>... virtualMachines) A list of your This is a convenience method that creates an instance of theVirtualMachineobjects, ordered by their Amazon Resource Names (ARNs).VirtualMachine.Builderavoiding the need to create one manually viaVirtualMachine.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovirtualMachines(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:
 
 
-