Interface DescribeSessionsResponse.Builder
-
- All Superinterfaces:
AppStreamResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSessionsResponse.Builder,DescribeSessionsResponse>,SdkBuilder<DescribeSessionsResponse.Builder,DescribeSessionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeSessionsResponse
public static interface DescribeSessionsResponse.Builder extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<DescribeSessionsResponse.Builder,DescribeSessionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSessionsResponse.BuildernextToken(String nextToken)The pagination token to use to retrieve the next page of results for this operation.DescribeSessionsResponse.Buildersessions(Collection<Session> sessions)Information about the streaming sessions.DescribeSessionsResponse.Buildersessions(Consumer<Session.Builder>... sessions)Information about the streaming sessions.DescribeSessionsResponse.Buildersessions(Session... sessions)Information about the streaming sessions.-
Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
sessions
DescribeSessionsResponse.Builder sessions(Collection<Session> 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
DescribeSessionsResponse.Builder sessions(Session... 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
DescribeSessionsResponse.Builder sessions(Consumer<Session.Builder>... 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 to#sessions(List.) - 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:
#sessions(java.util.Collection)
-
nextToken
DescribeSessionsResponse.Builder nextToken(String 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.
-
-