Interface DescribeSessionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeSessionsRequest.Builder,
,DescribeSessionsRequest> SdkBuilder<DescribeSessionsRequest.Builder,
,DescribeSessionsRequest> SdkPojo
,SdkRequest.Builder
,SsmRequest.Builder
- Enclosing class:
DescribeSessionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<SessionFilter> filters) One or more filters to limit the type of sessions returned by the request.filters
(Consumer<SessionFilter.Builder>... filters) One or more filters to limit the type of sessions returned by the request.filters
(SessionFilter... filters) One or more filters to limit the type of sessions returned by the request.maxResults
(Integer maxResults) The maximum number of items to return for this call.The token for the next set of items to return.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The session status to retrieve a list of sessions for.state
(SessionState state) The session status to retrieve a list of sessions for.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
state
The session status to retrieve a list of sessions for. For example, "Active".
- Parameters:
state
- The session status to retrieve a list of sessions for. For example, "Active".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The session status to retrieve a list of sessions for. For example, "Active".
- Parameters:
state
- The session status to retrieve a list of sessions for. For example, "Active".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Parameters:
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more filters to limit the type of sessions returned by the request.
- Parameters:
filters
- One or more filters to limit the type of sessions returned by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more filters to limit the type of sessions returned by the request.
- Parameters:
filters
- One or more filters to limit the type of sessions returned by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more filters to limit the type of sessions returned by the request.
This is a convenience method that creates an instance of theSessionFilter.Builder
avoiding the need to create one manually viaSessionFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<SessionFilter>)
.- Parameters:
filters
- a consumer that will call methods onSessionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DescribeSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-