public static interface DescribeSessionsResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeSessionsResponse.Builder,DescribeSessionsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeSessionsResponse.Builder |
nextToken(String nextToken)
The token for the next set of items to return.
|
DescribeSessionsResponse.Builder |
sessions(Collection<Session> sessions)
A list of sessions meeting the request parameters.
|
DescribeSessionsResponse.Builder |
sessions(Consumer<Session.Builder>... sessions)
A list of sessions meeting the request parameters.
|
DescribeSessionsResponse.Builder |
sessions(Session... sessions)
A list of sessions meeting the request parameters.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeSessionsResponse.Builder sessions(Collection<Session> sessions)
A list of sessions meeting the request parameters.
sessions - A list of sessions meeting the request parameters.DescribeSessionsResponse.Builder sessions(Session... sessions)
A list of sessions meeting the request parameters.
sessions - A list of sessions meeting the request parameters.DescribeSessionsResponse.Builder sessions(Consumer<Session.Builder>... sessions)
A list of sessions meeting the request parameters.
This is a convenience method that creates an instance of theSession.Builder avoiding the need to create one manually
via Session.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #sessions(List.
sessions - a consumer that will call methods on Session.Builder#sessions(java.util.Collection) DescribeSessionsResponse.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.)Copyright © 2023. All rights reserved.