Interface DescribeWorkspacesPoolSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkspacesPoolSessionsResponse.Builder,,DescribeWorkspacesPoolSessionsResponse> SdkBuilder<DescribeWorkspacesPoolSessionsResponse.Builder,,DescribeWorkspacesPoolSessionsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
DescribeWorkspacesPoolSessionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeWorkspacesPoolSessionsResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkspacesPoolSessionsResponse.Builder,DescribeWorkspacesPoolSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf you received aNextTokenfrom a previous call that was paginated, provide this token to receive the next set of results.sessions(Collection<WorkspacesPoolSession> sessions) Describes the pool sessions.sessions(Consumer<WorkspacesPoolSession.Builder>... sessions) Describes the pool sessions.sessions(WorkspacesPoolSession... sessions) Describes the pool sessions.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
sessions
Describes the pool sessions.
- Parameters:
sessions- Describes the pool sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
Describes the pool sessions.
- Parameters:
sessions- Describes the pool sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
DescribeWorkspacesPoolSessionsResponse.Builder sessions(Consumer<WorkspacesPoolSession.Builder>... sessions) Describes the pool sessions.
This is a convenience method that creates an instance of theWorkspacesPoolSession.Builderavoiding the need to create one manually viaWorkspacesPoolSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessions(List<WorkspacesPoolSession>).- Parameters:
sessions- a consumer that will call methods onWorkspacesPoolSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If you received a
NextTokenfrom a previous call that was paginated, provide this token to receive the next set of results.- Parameters:
nextToken- If you received aNextTokenfrom a previous call that was paginated, provide this token to receive the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-