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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSessionsResponse.Builder
ids(String... ids)
Returns the ID of the session.ListSessionsResponse.Builder
ids(Collection<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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ids
ListSessionsResponse.Builder ids(Collection<String> 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
ListSessionsResponse.Builder ids(String... 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
ListSessionsResponse.Builder sessions(Collection<Session> 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
ListSessionsResponse.Builder sessions(Session... 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
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 viaSession.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#sessions(List
.) - 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:
#sessions(java.util.Collection
)
-
nextToken
ListSessionsResponse.Builder nextToken(String 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.
-
-