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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSessionsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to be included in the next page.ListSessionsRequest.BuildernextToken(String nextToken)The pagination token used to retrieve the next page of results for this operation.ListSessionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListSessionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListSessionsRequest.BuilderportalId(String portalId)The ID of the web portal for the sessions.ListSessionsRequest.BuildersessionId(String sessionId)The ID of the session.ListSessionsRequest.BuildersortBy(String sortBy)The method in which the returned sessions should be sorted.ListSessionsRequest.BuildersortBy(SessionSortBy sortBy)The method in which the returned sessions should be sorted.ListSessionsRequest.Builderstatus(String status)The status of the session.ListSessionsRequest.Builderstatus(SessionStatus status)The status of the session.ListSessionsRequest.Builderusername(String username)The username of the session.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.workspacesweb.model.WorkSpacesWebRequest.Builder
build
-
-
-
-
Method Detail
-
maxResults
ListSessionsRequest.Builder maxResults(Integer 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
ListSessionsRequest.Builder nextToken(String 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
ListSessionsRequest.Builder portalId(String 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
ListSessionsRequest.Builder sessionId(String 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
ListSessionsRequest.Builder sortBy(String 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:
SessionSortBy,SessionSortBy
-
sortBy
ListSessionsRequest.Builder sortBy(SessionSortBy 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:
SessionSortBy,SessionSortBy
-
status
ListSessionsRequest.Builder status(String 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:
SessionStatus,SessionStatus
-
status
ListSessionsRequest.Builder status(SessionStatus 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:
SessionStatus,SessionStatus
-
username
ListSessionsRequest.Builder username(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-