Interface StopLaunchRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StopLaunchRequest.Builder,
,StopLaunchRequest> EvidentlyRequest.Builder
,SdkBuilder<StopLaunchRequest.Builder,
,StopLaunchRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StopLaunchRequest
@Mutable
@NotThreadSafe
public static interface StopLaunchRequest.Builder
extends EvidentlyRequest.Builder, SdkPojo, CopyableBuilder<StopLaunchRequest.Builder,StopLaunchRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondesiredState
(String desiredState) Specify whether to consider the launch asCOMPLETED
orCANCELLED
after it stops.desiredState
(LaunchStopDesiredState desiredState) Specify whether to consider the launch asCOMPLETED
orCANCELLED
after it stops.The name of the launch to stop.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name or ARN of the project that contains the launch that you want to stop.A string that describes why you are stopping the launch.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
desiredState
Specify whether to consider the launch as
COMPLETED
orCANCELLED
after it stops.- Parameters:
desiredState
- Specify whether to consider the launch asCOMPLETED
orCANCELLED
after it stops.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredState
Specify whether to consider the launch as
COMPLETED
orCANCELLED
after it stops.- Parameters:
desiredState
- Specify whether to consider the launch asCOMPLETED
orCANCELLED
after it stops.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launch
The name of the launch to stop.
- Parameters:
launch
- The name of the launch to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The name or ARN of the project that contains the launch that you want to stop.
- Parameters:
project
- The name or ARN of the project that contains the launch that you want to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
A string that describes why you are stopping the launch.
- Parameters:
reason
- A string that describes why you are stopping the launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StopLaunchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StopLaunchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-