Interface DescribeSessionsResponse.Builder
- All Superinterfaces:
AppStreamResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSessionsResponse.Builder,,DescribeSessionsResponse> SdkBuilder<DescribeSessionsResponse.Builder,,DescribeSessionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeSessionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeSessionsResponse.Builder
extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<DescribeSessionsResponse.Builder,DescribeSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to retrieve the next page of results for this operation.sessions(Collection<Session> sessions) Information about the streaming sessions.sessions(Consumer<Session.Builder>... sessions) Information about the streaming sessions.Information about the streaming sessions.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
sessions
Information about the streaming sessions.
- Parameters:
sessions- Information about the streaming sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
Information about the streaming sessions.
- Parameters:
sessions- Information about the streaming sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
Information about the streaming sessions.
This is a convenience method that creates an instance of theSession.Builderavoiding the need to create one manually viaSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessions(List<Session>).- Parameters:
sessions- a consumer that will call methods onSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-