Class ExperimentCaseSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExperimentCaseSummary.Builder,ExperimentCaseSummary>
Case counts and rates for a run.
Rates use casesTotal as the denominator once the run is COMPLETED, and casesDone while it is RUNNING or STOPPING or when it is DID_NOT_FINISH. A rate is absent when its denominator is 0.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final IntegerThe number of cases that have reached a final status.final IntegerThe number of cases reported so far.final IntegerThe total number of cases in the run.final IntegerThe number of cases with status COMPLETED.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Integerfailed()The number of cases with status FAILED.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegernotRun()The number of cases with status NOT_RUN, including cases that were never reported.final IntegerThe number of cases with status NOT_SCORED.final DoubleThe share of cases with no score, from 0 to 1.final Integerpassed()The number of cases with status PASSED.final DoublepassRate()The share of cases that passed, from 0 to 1.static Class<? extends ExperimentCaseSummary.Builder> final IntegerThe number of cases with status TARGET_ERROR.final IntegertimedOut()The number of cases with status TIMED_OUT.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
casesTotal
The total number of cases in the run.
- Returns:
- The total number of cases in the run.
-
casesReported
The number of cases reported so far.
- Returns:
- The number of cases reported so far.
-
casesDone
The number of cases that have reached a final status.
- Returns:
- The number of cases that have reached a final status.
-
passed
The number of cases with status PASSED.
- Returns:
- The number of cases with status PASSED.
-
failed
The number of cases with status FAILED.
- Returns:
- The number of cases with status FAILED.
-
completed
The number of cases with status COMPLETED.
- Returns:
- The number of cases with status COMPLETED.
-
targetError
The number of cases with status TARGET_ERROR.
- Returns:
- The number of cases with status TARGET_ERROR.
-
timedOut
The number of cases with status TIMED_OUT.
- Returns:
- The number of cases with status TIMED_OUT.
-
notScored
The number of cases with status NOT_SCORED.
- Returns:
- The number of cases with status NOT_SCORED.
-
notRun
The number of cases with status NOT_RUN, including cases that were never reported.
- Returns:
- The number of cases with status NOT_RUN, including cases that were never reported.
-
passRate
The share of cases that passed, from 0 to 1. Present only for runs with a rule.
- Returns:
- The share of cases that passed, from 0 to 1. Present only for runs with a rule.
-
notScoredRate
The share of cases with no score, from 0 to 1.
- Returns:
- The share of cases with no score, from 0 to 1.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ExperimentCaseSummary.Builder,ExperimentCaseSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-