Interface ListSessionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListSessionsRequest.Builder,,ListSessionsRequest> SdkBuilder<ListSessionsRequest.Builder,,ListSessionsRequest> SdkPojo,SdkRequest.Builder,WorkSpacesWebRequest.Builder
- Enclosing class:
ListSessionsRequest
public static interface ListSessionsRequest.Builder
extends WorkSpacesWebRequest.Builder, SdkPojo, CopyableBuilder<ListSessionsRequest.Builder,ListSessionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to be included in the next page.The pagination token used to retrieve the next page of results for this operation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the web portal for the sessions.The ID of the session.The method in which the returned sessions should be sorted.sortBy(SessionSortBy sortBy) The method in which the returned sessions should be sorted.The status of the session.status(SessionStatus status) The status of the session.The username of the session.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebRequest.Builder
build
-
Method Details
-
maxResults
The maximum number of results to be included in the next page.
- Parameters:
maxResults- The maximum number of results to be included in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The 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.
-
portalId
The ID of the web portal for the sessions.
- Parameters:
portalId- The ID of the web portal for the sessions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The ID of the session.
- Parameters:
sessionId- The ID of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The method in which the returned sessions should be sorted.
- Parameters:
sortBy- The method in which the returned sessions should be sorted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The method in which the returned sessions should be sorted.
- Parameters:
sortBy- The method in which the returned sessions should be sorted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the session.
- Parameters:
status- The status of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the session.
- Parameters:
status- The status of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
username
The username of the session.
- Parameters:
username- The username of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-