Interface CompleteExperimentRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<CompleteExperimentRunResponse.Builder,,CompleteExperimentRunResponse> SdkBuilder<CompleteExperimentRunResponse.Builder,,CompleteExperimentRunResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CompleteExperimentRunResponse
@Mutable
@NotThreadSafe
public static interface CompleteExperimentRunResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<CompleteExperimentRunResponse.Builder,CompleteExperimentRunResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe details of the completed run, with its summary, evaluator metrics, and its verdict when it has a rule.run(ExperimentRunDetails run) The details of the completed run, with its summary, evaluator metrics, and its verdict when it has a rule.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
run
The details of the completed run, with its summary, evaluator metrics, and its verdict when it has a rule.
- Parameters:
run- The details of the completed run, with its summary, evaluator metrics, and its verdict when it has a rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
run
The details of the completed run, with its summary, evaluator metrics, and its verdict when it has a rule.
This is a convenience method that creates an instance of theExperimentRunDetails.Builderavoiding the need to create one manually viaExperimentRunDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torun(ExperimentRunDetails).- Parameters:
run- a consumer that will call methods onExperimentRunDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-