Interface ListStreamSessionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStreamSessionsResponse.Builder,ListStreamSessionsResponse>,IvsResponse.Builder,SdkBuilder<ListStreamSessionsResponse.Builder,ListStreamSessionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListStreamSessionsResponse
public static interface ListStreamSessionsResponse.Builder extends IvsResponse.Builder, SdkPojo, CopyableBuilder<ListStreamSessionsResponse.Builder,ListStreamSessionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListStreamSessionsResponse.BuildernextToken(String nextToken)If there are more streams thanmaxResults, usenextTokenin the request to get the next set.ListStreamSessionsResponse.BuilderstreamSessions(Collection<StreamSessionSummary> streamSessions)List of stream sessions.ListStreamSessionsResponse.BuilderstreamSessions(Consumer<StreamSessionSummary.Builder>... streamSessions)List of stream sessions.ListStreamSessionsResponse.BuilderstreamSessions(StreamSessionSummary... streamSessions)List of stream sessions.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.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
ListStreamSessionsResponse.Builder nextToken(String nextToken)
If there are more streams than
maxResults, usenextTokenin the request to get the next set.- Parameters:
nextToken- If there are more streams thanmaxResults, usenextTokenin the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSessions
ListStreamSessionsResponse.Builder streamSessions(Collection<StreamSessionSummary> streamSessions)
List of stream sessions.
- Parameters:
streamSessions- List of stream sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSessions
ListStreamSessionsResponse.Builder streamSessions(StreamSessionSummary... streamSessions)
List of stream sessions.
- Parameters:
streamSessions- List of stream sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSessions
ListStreamSessionsResponse.Builder streamSessions(Consumer<StreamSessionSummary.Builder>... streamSessions)
List of stream sessions.
This is a convenience method that creates an instance of theStreamSessionSummary.Builderavoiding the need to create one manually viaStreamSessionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#streamSessions(List.) - Parameters:
streamSessions- a consumer that will call methods onStreamSessionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#streamSessions(java.util.Collection)
-
-