Interface ListStreamSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStreamSessionsResponse.Builder,,ListStreamSessionsResponse> IvsResponse.Builder,SdkBuilder<ListStreamSessionsResponse.Builder,,ListStreamSessionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListStreamSessionsResponse
@Mutable
@NotThreadSafe
public static interface ListStreamSessionsResponse.Builder
extends IvsResponse.Builder, SdkPojo, CopyableBuilder<ListStreamSessionsResponse.Builder,ListStreamSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are more streams thanmaxResults, usenextTokenin the request to get the next set.streamSessions(Collection<StreamSessionSummary> streamSessions) List of stream sessions.streamSessions(Consumer<StreamSessionSummary.Builder>... streamSessions) List of stream sessions.streamSessions(StreamSessionSummary... streamSessions) List of stream sessions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 tostreamSessions(List<StreamSessionSummary>).- 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:
-