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)
Add an optional request override configuration.
|
DescribeSessionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildoverrideConfigurationcopyapplyMutation, buildDescribeSessionsRequest.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,
SessionStateDescribeSessionsRequest.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,
SessionStateDescribeSessionsRequest.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)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.DescribeSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.