Interface ListSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSessionsResponse.Builder,,ListSessionsResponse> GlueResponse.Builder,SdkBuilder<ListSessionsResponse.Builder,,ListSessionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSessionsResponse
public static interface ListSessionsResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<ListSessionsResponse.Builder,ListSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionReturns the ID of the session.ids(Collection<String> ids) Returns the ID of the session.The token for the next set of results, or null if there are no more result.sessions(Collection<Session> sessions) Returns the session object.sessions(Consumer<Session.Builder>... sessions) Returns the session object.Returns the session object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ids
Returns the ID of the session.
- Parameters:
ids- Returns the ID of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ids
Returns the ID of the session.
- Parameters:
ids- Returns the ID of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
Returns the session object.
- Parameters:
sessions- Returns the session object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
Returns the session object.
- Parameters:
sessions- Returns the session object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
Returns the session object.
This is a convenience method that creates an instance of theSession.Builderavoiding the need to create one manually viaSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessions(List<Session>).- Parameters:
sessions- a consumer that will call methods onSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results, or null if there are no more result.
- Parameters:
nextToken- The token for the next set of results, or null if there are no more result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-