Interface StopExperimentRunRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<StopExperimentRunRequest.Builder,,StopExperimentRunRequest> SdkBuilder<StopExperimentRunRequest.Builder,,StopExperimentRunRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StopExperimentRunRequest
@Mutable
@NotThreadSafe
public static interface StopExperimentRunRequest.Builder
extends AppConfigRequest.Builder, SdkPojo, CopyableBuilder<StopExperimentRunRequest.Builder,StopExperimentRunRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier(String applicationIdentifier) The application ID or name.default StopExperimentRunRequest.BuilderdeploymentParameters(Consumer<DeploymentParameters.Builder> deploymentParameters) Optional deployment parameters for the stop operation.deploymentParameters(DeploymentParameters deploymentParameters) Optional deployment parameters for the stop operation.experimentDefinitionIdentifier(String experimentDefinitionIdentifier) The experiment definition ID or name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default StopExperimentRunRequest.Builderresult(Consumer<ExperimentRunResult.Builder> result) The result of the experiment run, including an executive summary and reasons for or against launching.result(ExperimentRunResult result) The result of the experiment run, including an executive summary and reasons for or against launching.The run number to stop.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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
-
applicationIdentifier
The application ID or name.
- Parameters:
applicationIdentifier- The application ID or name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentDefinitionIdentifier
StopExperimentRunRequest.Builder experimentDefinitionIdentifier(String experimentDefinitionIdentifier) The experiment definition ID or name.
- Parameters:
experimentDefinitionIdentifier- The experiment definition ID or name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
run
The run number to stop.
- Parameters:
run- The run number to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
The result of the experiment run, including an executive summary and reasons for or against launching.
- Parameters:
result- The result of the experiment run, including an executive summary and reasons for or against launching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
The result of the experiment run, including an executive summary and reasons for or against launching.
This is a convenience method that creates an instance of theExperimentRunResult.Builderavoiding the need to create one manually viaExperimentRunResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresult(ExperimentRunResult).- Parameters:
result- a consumer that will call methods onExperimentRunResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentParameters
Optional deployment parameters for the stop operation.
- Parameters:
deploymentParameters- Optional deployment parameters for the stop operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentParameters
default StopExperimentRunRequest.Builder deploymentParameters(Consumer<DeploymentParameters.Builder> deploymentParameters) Optional deployment parameters for the stop operation.
This is a convenience method that creates an instance of theDeploymentParameters.Builderavoiding the need to create one manually viaDeploymentParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentParameters(DeploymentParameters).- Parameters:
deploymentParameters- a consumer that will call methods onDeploymentParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-