Interface ListBrowserSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<ListBrowserSessionsResponse.Builder,,ListBrowserSessionsResponse> SdkBuilder<ListBrowserSessionsResponse.Builder,,ListBrowserSessionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBrowserSessionsResponse
@Mutable
@NotThreadSafe
public static interface ListBrowserSessionsResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<ListBrowserSessionsResponse.Builder,ListBrowserSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<BrowserSessionSummary> items) The list of browser sessions that match the specified criteria.items(Consumer<BrowserSessionSummary.Builder>... items) The list of browser sessions that match the specified criteria.items(BrowserSessionSummary... items) The list of browser sessions that match the specified criteria.The token to use in a subsequentListBrowserSessionsrequest to get the next set of results.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The list of browser sessions that match the specified criteria.
- Parameters:
items- The list of browser sessions that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of browser sessions that match the specified criteria.
- Parameters:
items- The list of browser sessions that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of browser sessions that match the specified criteria.
This is a convenience method that creates an instance of theBrowserSessionSummary.Builderavoiding the need to create one manually viaBrowserSessionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<BrowserSessionSummary>).- Parameters:
items- a consumer that will call methods onBrowserSessionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in a subsequent
ListBrowserSessionsrequest to get the next set of results.- Parameters:
nextToken- The token to use in a subsequentListBrowserSessionsrequest to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-