Interface CreateLaunchResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLaunchResponse.Builder,CreateLaunchResponse>,EvidentlyResponse.Builder,SdkBuilder<CreateLaunchResponse.Builder,CreateLaunchResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateLaunchResponse
public static interface CreateLaunchResponse.Builder extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<CreateLaunchResponse.Builder,CreateLaunchResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateLaunchResponse.Builderlaunch(Consumer<Launch.Builder> launch)A structure that contains the configuration of the launch that was created.CreateLaunchResponse.Builderlaunch(Launch launch)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 Detail
-
launch
CreateLaunchResponse.Builder launch(Launch 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
default CreateLaunchResponse.Builder launch(Consumer<Launch.Builder> 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:
launch(Launch)
-
-