Interface ListStreamingSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListStreamingSessionsResponse.Builder,
,ListStreamingSessionsResponse> NimbleResponse.Builder
,SdkBuilder<ListStreamingSessionsResponse.Builder,
,ListStreamingSessionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListStreamingSessionsResponse
public static interface ListStreamingSessionsResponse.Builder
extends NimbleResponse.Builder, SdkPojo, CopyableBuilder<ListStreamingSessionsResponse.Builder,ListStreamingSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results, or null if there are no more results.sessions
(Collection<StreamingSession> sessions) A collection of streaming sessions.sessions
(Consumer<StreamingSession.Builder>... sessions) A collection of streaming sessions.sessions
(StreamingSession... sessions) A collection of streaming sessions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.nimble.model.NimbleResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token for the next set of results, or null if there are no more results.
- Parameters:
nextToken
- The token for the next set of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
A collection of streaming sessions.
- Parameters:
sessions
- A collection of streaming sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
A collection of streaming sessions.
- Parameters:
sessions
- A collection of streaming sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
A collection of streaming sessions.
This is a convenience method that creates an instance of theStreamingSession.Builder
avoiding the need to create one manually viaStreamingSession.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosessions(List<StreamingSession>)
.- Parameters:
sessions
- a consumer that will call methods onStreamingSession.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-