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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListStreamingSessionsResponse.BuildernextToken(String nextToken)The token for the next set of results, or null if there are no more results.ListStreamingSessionsResponse.Buildersessions(Collection<StreamingSession> sessions)A collection of streaming sessions.ListStreamingSessionsResponse.Buildersessions(Consumer<StreamingSession.Builder>... sessions)A collection of streaming sessions.ListStreamingSessionsResponse.Buildersessions(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 Detail
-
nextToken
ListStreamingSessionsResponse.Builder nextToken(String 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
ListStreamingSessionsResponse.Builder sessions(Collection<StreamingSession> 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
ListStreamingSessionsResponse.Builder sessions(StreamingSession... 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
ListStreamingSessionsResponse.Builder sessions(Consumer<StreamingSession.Builder>... sessions)
A collection of streaming sessions.
This is a convenience method that creates an instance of theStreamingSession.Builderavoiding the need to create one manually viaStreamingSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sessions(List.) - 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:
#sessions(java.util.Collection)
-
-