Interface ListHypervisorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupGatewayResponse.Builder,Buildable,CopyableBuilder<ListHypervisorsResponse.Builder,ListHypervisorsResponse>,SdkBuilder<ListHypervisorsResponse.Builder,ListHypervisorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListHypervisorsResponse
public static interface ListHypervisorsResponse.Builder extends BackupGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListHypervisorsResponse.Builder,ListHypervisorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListHypervisorsResponse.Builderhypervisors(Collection<Hypervisor> hypervisors)A list of yourHypervisorobjects, ordered by their Amazon Resource Names (ARNs).ListHypervisorsResponse.Builderhypervisors(Consumer<Hypervisor.Builder>... hypervisors)A list of yourHypervisorobjects, ordered by their Amazon Resource Names (ARNs).ListHypervisorsResponse.Builderhypervisors(Hypervisor... hypervisors)A list of yourHypervisorobjects, ordered by their Amazon Resource Names (ARNs).ListHypervisorsResponse.BuildernextToken(String nextToken)The next item following a partial list of returned resources.-
Methods inherited from interface software.amazon.awssdk.services.backupgateway.model.BackupGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
hypervisors
ListHypervisorsResponse.Builder hypervisors(Collection<Hypervisor> hypervisors)
A list of your
Hypervisorobjects, ordered by their Amazon Resource Names (ARNs).- Parameters:
hypervisors- A list of yourHypervisorobjects, 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
Hypervisorobjects, ordered by their Amazon Resource Names (ARNs).- Parameters:
hypervisors- A list of yourHypervisorobjects, 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(Consumer<Hypervisor.Builder>... hypervisors)
A list of your
This is a convenience method that creates an instance of theHypervisorobjects, ordered by their Amazon Resource Names (ARNs).Hypervisor.Builderavoiding the need to create one manually viaHypervisor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hypervisors(List.) - Parameters:
hypervisors- a consumer that will call methods onHypervisor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hypervisors(java.util.Collection)
-
nextToken
ListHypervisorsResponse.Builder nextToken(String 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.- Parameters:
nextToken- The next item following a partial list of returned resources. For example, if a request is made to returnmaxResultsnumber 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.
-
-