public static interface ListSessionsResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<ListSessionsResponse.Builder,ListSessionsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListSessionsResponse.Builder |
ids(Collection<String> ids)
Returns the ID of the session.
|
ListSessionsResponse.Builder |
ids(String... ids)
Returns the ID of the session.
|
ListSessionsResponse.Builder |
nextToken(String nextToken)
The token for the next set of results, or null if there are no more result.
|
ListSessionsResponse.Builder |
sessions(Collection<Session> sessions)
Returns the session object.
|
ListSessionsResponse.Builder |
sessions(Consumer<Session.Builder>... sessions)
Returns the session object.
|
ListSessionsResponse.Builder |
sessions(Session... sessions)
Returns the session object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListSessionsResponse.Builder ids(Collection<String> ids)
Returns the ID of the session.
ids - Returns the ID of the session.ListSessionsResponse.Builder ids(String... ids)
Returns the ID of the session.
ids - Returns the ID of the session.ListSessionsResponse.Builder sessions(Collection<Session> sessions)
Returns the session object.
sessions - Returns the session object.ListSessionsResponse.Builder sessions(Session... sessions)
Returns the session object.
sessions - Returns the session object.ListSessionsResponse.Builder sessions(Consumer<Session.Builder>... sessions)
Returns the session object.
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) ListSessionsResponse.Builder nextToken(String nextToken)
The token for the next set of results, or null if there are no more result.
nextToken - The token for the next set of results, or null if there are no more result.Copyright © 2023. All rights reserved.