Interface ListDevEnvironmentSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCatalystResponse.Builder
,CopyableBuilder<ListDevEnvironmentSessionsResponse.Builder,
,ListDevEnvironmentSessionsResponse> SdkBuilder<ListDevEnvironmentSessionsResponse.Builder,
,ListDevEnvironmentSessionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDevEnvironmentSessionsResponse
public static interface ListDevEnvironmentSessionsResponse.Builder
extends CodeCatalystResponse.Builder, SdkPojo, CopyableBuilder<ListDevEnvironmentSessionsResponse.Builder,ListDevEnvironmentSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionInformation about each session retrieved in the list.items
(Consumer<DevEnvironmentSessionSummary.Builder>... items) Information about each session retrieved in the list.items
(DevEnvironmentSessionSummary... items) Information about each session retrieved in the list.A token returned from a call to this API to indicate the next batch of results to return, if any.Methods inherited from interface software.amazon.awssdk.services.codecatalyst.model.CodeCatalystResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
items
Information about each session retrieved in the list.
- Parameters:
items
- Information about each session retrieved in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Information about each session retrieved in the list.
- Parameters:
items
- Information about each session retrieved in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListDevEnvironmentSessionsResponse.Builder items(Consumer<DevEnvironmentSessionSummary.Builder>... items) Information about each session retrieved in the list.
This is a convenience method that creates an instance of theDevEnvironmentSessionSummary.Builder
avoiding the need to create one manually viaDevEnvironmentSessionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<DevEnvironmentSessionSummary>)
.- Parameters:
items
- a consumer that will call methods onDevEnvironmentSessionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token returned from a call to this API to indicate the next batch of results to return, if any.
- Parameters:
nextToken
- A token returned from a call to this API to indicate the next batch of results to return, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-