public static interface DescribeSessionsRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<DescribeSessionsRequest.Builder,DescribeSessionsRequest>
Modifier and Type | Method and Description |
---|---|
DescribeSessionsRequest.Builder |
filters(Collection<SessionFilter> filters)
One or more filters to limit the type of sessions returned by the request.
|
DescribeSessionsRequest.Builder |
filters(Consumer<SessionFilter.Builder>... filters)
One or more filters to limit the type of sessions returned by the request.
|
DescribeSessionsRequest.Builder |
filters(SessionFilter... filters)
One or more filters to limit the type of sessions returned by the request.
|
DescribeSessionsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of items to return for this call.
|
DescribeSessionsRequest.Builder |
nextToken(String nextToken)
The token for the next set of items to return.
|
DescribeSessionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DescribeSessionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DescribeSessionsRequest.Builder |
state(SessionState state)
The session status to retrieve a list of sessions for.
|
DescribeSessionsRequest.Builder |
state(String state)
The session status to retrieve a list of sessions for.
|
build
overrideConfiguration
copy
applyMutation, build
DescribeSessionsRequest.Builder state(String state)
The session status to retrieve a list of sessions for. For example, "Active".
state
- The session status to retrieve a list of sessions for. For example, "Active".SessionState
,
SessionState
DescribeSessionsRequest.Builder state(SessionState state)
The session status to retrieve a list of sessions for. For example, "Active".
state
- The session status to retrieve a list of sessions for. For example, "Active".SessionState
,
SessionState
DescribeSessionsRequest.Builder maxResults(Integer 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.
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.DescribeSessionsRequest.Builder nextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)DescribeSessionsRequest.Builder filters(Collection<SessionFilter> filters)
One or more filters to limit the type of sessions returned by the request.
filters
- One or more filters to limit the type of sessions returned by the request.DescribeSessionsRequest.Builder filters(SessionFilter... filters)
One or more filters to limit the type of sessions returned by the request.
filters
- One or more filters to limit the type of sessions returned by the request.DescribeSessionsRequest.Builder filters(Consumer<SessionFilter.Builder>... filters)
One or more filters to limit the type of sessions returned by the request.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #filters(List)
.filters
- a consumer that will call methods on List.Builder
#filters(List)
DescribeSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DescribeSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.