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.Builder
launch
(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
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
-
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.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:
-