Class TestRunSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TestRunSummary.Builder,TestRunSummary>
Contains summary information about a test run.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AccountTargetingIndicates whether this test run targets a single account or multiple accounts.final StringIndicates whether this test run targets a single account or multiple accounts.static TestRunSummary.Builderbuilder()final InstantendedAt()The timestamp when the test run ended.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringA human-readable reason for test run failure.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends TestRunSummary.Builder> final StringThe ARN of the service the test run belongs to.final InstantThe timestamp when the test run started.final TestRunStatusstatus()The current status of the test run.final StringThe current status of the test run.final StringThe unique identifier of the test run.final StringThe ARN of the test template the test run was based on.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
-
testRunId
The unique identifier of the test run.
- Returns:
- The unique identifier of the test run.
-
status
The current status of the test run.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTestRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the test run.
- See Also:
-
statusAsString
The current status of the test run.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTestRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the test run.
- See Also:
-
startedAt
The timestamp when the test run started.
- Returns:
- The timestamp when the test run started.
-
endedAt
The timestamp when the test run ended.
- Returns:
- The timestamp when the test run ended.
-
testTemplateArn
The ARN of the test template the test run was based on.
- Returns:
- The ARN of the test template the test run was based on.
-
serviceArn
The ARN of the service the test run belongs to.
- Returns:
- The ARN of the service the test run belongs to.
-
errorMessage
A human-readable reason for test run failure. Only present when the status is FAILED or ERROR.
- Returns:
- A human-readable reason for test run failure. Only present when the status is FAILED or ERROR.
-
accountTargeting
Indicates whether this test run targets a single account or multiple accounts.
If the service returns an enum value that is not available in the current SDK version,
accountTargetingwill returnAccountTargeting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccountTargetingAsString().- Returns:
- Indicates whether this test run targets a single account or multiple accounts.
- See Also:
-
accountTargetingAsString
Indicates whether this test run targets a single account or multiple accounts.
If the service returns an enum value that is not available in the current SDK version,
accountTargetingwill returnAccountTargeting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccountTargetingAsString().- Returns:
- Indicates whether this test run targets a single account or multiple accounts.
- See Also:
-
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<TestRunSummary.Builder,TestRunSummary> - 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.
-