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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeSessionsResponse.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 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 #sessions(List)
.sessions
- a consumer that will call methods on List.Builder
#sessions(List)
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 © 2020. All rights reserved.