Interface ListStreamSessionsByAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStreamSessionsByAccountResponse.Builder,,ListStreamSessionsByAccountResponse> GameLiftStreamsResponse.Builder,SdkBuilder<ListStreamSessionsByAccountResponse.Builder,,ListStreamSessionsByAccountResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListStreamSessionsByAccountResponse
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<StreamSessionSummary> items) A collection of Amazon GameLift Streams stream sessions that are associated with a stream group and returned in response to a list request.items(Consumer<StreamSessionSummary.Builder>... items) A collection of Amazon GameLift Streams stream sessions that are associated with a stream group and returned in response to a list request.items(StreamSessionSummary... items) A collection of Amazon GameLift Streams stream sessions that are associated with a stream group and returned in response to a list request.A token that marks the start of the next sequential page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gameliftstreams.model.GameLiftStreamsResponse.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
-
items
A collection of Amazon GameLift Streams stream sessions that are associated with a stream group and returned in response to a list request. Each item includes stream session metadata and status.
- Parameters:
items- A collection of Amazon GameLift Streams stream sessions that are associated with a stream group and returned in response to a list request. Each item includes stream session metadata and status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A collection of Amazon GameLift Streams stream sessions that are associated with a stream group and returned in response to a list request. Each item includes stream session metadata and status.
- Parameters:
items- A collection of Amazon GameLift Streams stream sessions that are associated with a stream group and returned in response to a list request. Each item includes stream session metadata and status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A collection of Amazon GameLift Streams stream sessions that are associated with a stream group and returned in response to a list request. Each item includes stream session metadata and status.
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 toitems(List<StreamSessionSummary>).- Parameters:
items- 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:
-
nextToken
A token that marks the start of the next sequential page of results. If an operation doesn't return a token, you've reached the end of the list.
- Parameters:
nextToken- A token that marks the start of the next sequential page of results. If an operation doesn't return a token, you've reached the end of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-