Interface SearchSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchSessionsResponse.Builder,
,SearchSessionsResponse> SdkBuilder<SearchSessionsResponse.Builder,
,SearchSessionsResponse> SdkPojo
,SdkResponse.Builder
,WisdomResponse.Builder
- Enclosing class:
SearchSessionsResponse
public static interface SearchSessionsResponse.Builder
extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<SearchSessionsResponse.Builder,SearchSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.sessionSummaries
(Collection<SessionSummary> sessionSummaries) Summary information about the sessions.sessionSummaries
(Consumer<SessionSummary.Builder>... sessionSummaries) Summary information about the sessions.sessionSummaries
(SessionSummary... sessionSummaries) Summary information about the sessions.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
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionSummaries
Summary information about the sessions.
- Parameters:
sessionSummaries
- Summary information about the sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionSummaries
Summary information about the sessions.
- Parameters:
sessionSummaries
- Summary information about the sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionSummaries
SearchSessionsResponse.Builder sessionSummaries(Consumer<SessionSummary.Builder>... sessionSummaries) Summary information about the sessions.
This is a convenience method that creates an instance of theSessionSummary.Builder
avoiding the need to create one manually viaSessionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosessionSummaries(List<SessionSummary>)
.- Parameters:
sessionSummaries
- a consumer that will call methods onSessionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-