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.Builderlaunch(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
copyMethods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.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
-
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.Builderavoiding the need to create one manually viaLaunch.builder().When the
Consumercompletes,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:
-