Interface ListSessionsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListSessionsResponse.Builder,,- ListSessionsResponse> - SdkBuilder<ListSessionsResponse.Builder,,- ListSessionsResponse> - SdkPojo,- SdkResponse.Builder,- WorkSpacesWebResponse.Builder
- Enclosing class:
- ListSessionsResponse
public static interface ListSessionsResponse.Builder
extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<ListSessionsResponse.Builder,ListSessionsResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionThe pagination token used to retrieve the next page of results for this operation.sessions(Collection<SessionSummary> sessions) The sessions in a list.sessions(Consumer<SessionSummary.Builder>... sessions) The sessions in a list.sessions(SessionSummary... sessions) The sessions in a list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
nextTokenThe pagination token used to retrieve the next page of results for this operation. - Parameters:
- nextToken- The pagination token used to retrieve the next page of results for this operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sessionsThe sessions in a list. - Parameters:
- sessions- The sessions in a list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sessionsThe sessions in a list. - Parameters:
- sessions- The sessions in a list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sessionsThe sessions in a list. This is a convenience method that creates an instance of theSessionSummary.Builderavoiding the need to create one manually viaSessionSummary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessions(List<SessionSummary>).- Parameters:
- sessions- a consumer that will call methods on- SessionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-