Interface StartLaunchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StartLaunchResponse.Builder,
,StartLaunchResponse> EvidentlyResponse.Builder
,SdkBuilder<StartLaunchResponse.Builder,
,StartLaunchResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartLaunchResponse
public static interface StartLaunchResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<StartLaunchResponse.Builder,StartLaunchResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartLaunchResponse.Builder
launch
(Consumer<Launch.Builder> launch) A structure that contains information about the launch that was started.A structure that contains information about the launch that was started.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
launch
A structure that contains information about the launch that was started.
- Parameters:
launch
- A structure that contains information about the launch that was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launch
A structure that contains information about the launch that was started.
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 tolaunch(Launch)
.- Parameters:
launch
- 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:
-