@Generated(value="software.amazon.awssdk:codegen") public final class Report extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Report.Builder,Report>
Information about the results from running a series of test cases during the run of a build project. The test cases are specified in the buildspec for the build project using one or more paths to the test case files. You can specify any type of tests you want, such as unit tests, integration tests, and functional tests.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Report.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the report run.
|
static Report.Builder |
builder() |
CodeCoverageReportSummary |
codeCoverageSummary()
A
CodeCoverageReportSummary object that contains a code coverage summary for this report. |
Instant |
created()
The date and time this report run occurred.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionId()
The ARN of the build run that generated this report.
|
Instant |
expired()
The date and time a report expires.
|
ReportExportConfig |
exportConfig()
Information about where the raw data used to generate this report was exported.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the report that was run.
|
String |
reportGroupArn()
The ARN of the report group associated with this report.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Report.Builder> |
serializableBuilderClass() |
ReportStatusType |
status()
The status of this report.
|
String |
statusAsString()
The status of this report.
|
TestReportSummary |
testSummary()
A
TestReportSummary object that contains information about this test report. |
Report.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
truncated()
A boolean that specifies if this report run is truncated.
|
ReportType |
type()
The type of the report that was run.
|
String |
typeAsString()
The type of the report that was run.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN of the report run.
public final ReportType type()
The type of the report that was run.
A code coverage report.
A test report.
If the service returns an enum value that is not available in the current SDK version, type will return
ReportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
A code coverage report.
A test report.
ReportTypepublic final String typeAsString()
The type of the report that was run.
A code coverage report.
A test report.
If the service returns an enum value that is not available in the current SDK version, type will return
ReportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
A code coverage report.
A test report.
ReportTypepublic final String name()
The name of the report that was run.
public final String reportGroupArn()
The ARN of the report group associated with this report.
public final String executionId()
The ARN of the build run that generated this report.
public final ReportStatusType status()
The status of this report.
If the service returns an enum value that is not available in the current SDK version, status will
return ReportStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ReportStatusTypepublic final String statusAsString()
The status of this report.
If the service returns an enum value that is not available in the current SDK version, status will
return ReportStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ReportStatusTypepublic final Instant created()
The date and time this report run occurred.
public final Instant expired()
The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.
public final ReportExportConfig exportConfig()
Information about where the raw data used to generate this report was exported.
public final Boolean truncated()
A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.
public final TestReportSummary testSummary()
A TestReportSummary object that contains information about this test report.
TestReportSummary object that contains information about this test report.public final CodeCoverageReportSummary codeCoverageSummary()
A CodeCoverageReportSummary object that contains a code coverage summary for this report.
CodeCoverageReportSummary object that contains a code coverage summary for this report.public Report.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Report.Builder,Report>public static Report.Builder builder()
public static Class<? extends Report.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.