Interface ListManagedResourcesResponse.Builder
- All Superinterfaces:
ArcZonalShiftResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListManagedResourcesResponse.Builder,,ListManagedResourcesResponse> SdkBuilder<ListManagedResourcesResponse.Builder,,ListManagedResourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListManagedResourcesResponse
public static interface ListManagedResourcesResponse.Builder
extends ArcZonalShiftResponse.Builder, SdkPojo, CopyableBuilder<ListManagedResourcesResponse.Builder,ListManagedResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ManagedResourceSummary> items) The items in the response list.items(Consumer<ManagedResourceSummary.Builder>... items) The items in the response list.items(ManagedResourceSummary... items) The items in the response list.Specifies that you want to receive the next page of results.Methods inherited from interface software.amazon.awssdk.services.arczonalshift.model.ArcZonalShiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The items in the response list.
- Parameters:
items- The items in the response list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items in the response list.
- Parameters:
items- The items in the response list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items in the response list.
This is a convenience method that creates an instance of theManagedResourceSummary.Builderavoiding the need to create one manually viaManagedResourceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ManagedResourceSummary>).- Parameters:
items- a consumer that will call methods onManagedResourceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.- Parameters:
nextToken- Specifies that you want to receive the next page of results. Valid only if you received aNextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-