Interface StopExperimentRunRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<StopExperimentRunRequest.Builder,,StopExperimentRunRequest> SdkBuilder<StopExperimentRunRequest.Builder,,StopExperimentRunRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StopExperimentRunRequest
@Mutable
@NotThreadSafe
public static interface StopExperimentRunRequest.Builder
extends CloudWatchOmniRequest.Builder, SdkPojo, CopyableBuilder<StopExperimentRunRequest.Builder,StopExperimentRunRequest>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional reason for stopping the run, stored as the run's statusDetail.experimentId(String experimentId) The ID of the experiment the run belongs to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the run to stop.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
experimentId
The ID of the experiment the run belongs to.
- Parameters:
experimentId- The ID of the experiment the run belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runId
The ID of the run to stop.
- Parameters:
runId- The ID of the run to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
An optional reason for stopping the run, stored as the run's statusDetail. For example, "agent unreachable after 5 consecutive errors".
- Parameters:
detail- An optional reason for stopping the run, stored as the run's statusDetail. For example, "agent unreachable after 5 consecutive errors".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StopExperimentRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StopExperimentRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-