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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method that creates an instance of theSessionFilter.Builder avoiding the need to create one
manually via SessionFilter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #filters(List.
filters - a consumer that will call methods on
SessionFilter.Builder#filters(java.util.Collection) DescribeSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDescribeSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.