Interface CreateLaunchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLaunchResponse.Builder,,CreateLaunchResponse> EvidentlyResponse.Builder,SdkBuilder<CreateLaunchResponse.Builder,,CreateLaunchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateLaunchResponse
@Mutable
@NotThreadSafe
public static interface CreateLaunchResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<CreateLaunchResponse.Builder,CreateLaunchResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateLaunchResponse.Builderlaunch(Consumer<Launch.Builder> launch) A structure that contains the configuration of the launch that was created.A structure that contains the configuration of the launch that was created.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
launch
A structure that contains the configuration of the launch that was created.
- Parameters:
launch- A structure that contains the configuration of the launch that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launch
A structure that contains the configuration of the launch that was created.
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:
-