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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchSessionsResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.SearchSessionsResponse.BuildersessionSummaries(Collection<SessionSummary> sessionSummaries)Summary information about the sessions.SearchSessionsResponse.BuildersessionSummaries(Consumer<SessionSummary.Builder>... sessionSummaries)Summary information about the sessions.SearchSessionsResponse.BuildersessionSummaries(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, sdkFieldNameToField, 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 Detail
-
nextToken
SearchSessionsResponse.Builder nextToken(String 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
SearchSessionsResponse.Builder sessionSummaries(Collection<SessionSummary> 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(SessionSummary... 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.Builderavoiding the need to create one manually viaSessionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sessionSummaries(List.) - 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:
#sessionSummaries(java.util.Collection)
-
-