Interface ListLaunchesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLaunchesResponse.Builder,
,ListLaunchesResponse> EvidentlyResponse.Builder
,SdkBuilder<ListLaunchesResponse.Builder,
,ListLaunchesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListLaunchesResponse
@Mutable
@NotThreadSafe
public static interface ListLaunchesResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<ListLaunchesResponse.Builder,ListLaunchesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlaunches
(Collection<Launch> launches) An array of structures that contain the configuration details of the launches in the specified project.launches
(Consumer<Launch.Builder>... launches) An array of structures that contain the configuration details of the launches in the specified project.An array of structures that contain the configuration details of the launches in the specified project.The token to use in a subsequentListLaunches
operation to return the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
launches
An array of structures that contain the configuration details of the launches in the specified project.
- Parameters:
launches
- An array of structures that contain the configuration details of the launches in the specified project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launches
An array of structures that contain the configuration details of the launches in the specified project.
- Parameters:
launches
- An array of structures that contain the configuration details of the launches in the specified project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launches
An array of structures that contain the configuration details of the launches in the specified project.
This is a convenience method that creates an instance of theLaunch.Builder
avoiding the need to create one manually viaLaunch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolaunches(List<Launch>)
.- Parameters:
launches
- a consumer that will call methods onLaunch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in a subsequent
ListLaunches
operation to return the next set of results.- Parameters:
nextToken
- The token to use in a subsequentListLaunches
operation to return the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-