Interface ListManagedResourcesResponse.Builder
- All Superinterfaces:
ArcZonalShiftResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListManagedResourcesResponse.Builder,
,ListManagedResourcesResponse> SdkBuilder<ListManagedResourcesResponse.Builder,
,ListManagedResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListManagedResourcesResponse
@Mutable
@NotThreadSafe
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, 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, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaManagedResourceSummary.builder()
.When the
Consumer
completes,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
nextToken
response 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'snextToken
response 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 anextToken
response 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'snextToken
response to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-