Interface ListLibraryItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLibraryItemsResponse.Builder,
,ListLibraryItemsResponse> QAppsResponse.Builder
,SdkBuilder<ListLibraryItemsResponse.Builder,
,ListLibraryItemsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListLibraryItemsResponse
@Mutable
@NotThreadSafe
public static interface ListLibraryItemsResponse.Builder
extends QAppsResponse.Builder, SdkPojo, CopyableBuilder<ListLibraryItemsResponse.Builder,ListLibraryItemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlibraryItems
(Collection<LibraryItemMember> libraryItems) The list of library items meeting the request criteria.libraryItems
(Consumer<LibraryItemMember.Builder>... libraryItems) The list of library items meeting the request criteria.libraryItems
(LibraryItemMember... libraryItems) The list of library items meeting the request criteria.The token to use to request the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qapps.model.QAppsResponse.Builder
build, responseMetadata, responseMetadata
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
-
libraryItems
The list of library items meeting the request criteria.
- Parameters:
libraryItems
- The list of library items meeting the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
libraryItems
The list of library items meeting the request criteria.
- Parameters:
libraryItems
- The list of library items meeting the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
libraryItems
The list of library items meeting the request criteria.
This is a convenience method that creates an instance of theLibraryItemMember.Builder
avoiding the need to create one manually viaLibraryItemMember.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolibraryItems(List<LibraryItemMember>)
.- Parameters:
libraryItems
- a consumer that will call methods onLibraryItemMember.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to request the next page of results.
- Parameters:
nextToken
- The token to use to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-