@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Report extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
Report() |
Modifier and Type | Method and Description |
---|---|
Report |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the report run.
|
CodeCoverageReportSummary |
getCodeCoverageSummary()
A
CodeCoverageReportSummary object that contains a code coverage summary for this report. |
Date |
getCreated()
The date and time this report run occurred.
|
String |
getExecutionId()
The ARN of the build run that generated this report.
|
Date |
getExpired()
The date and time a report expires.
|
ReportExportConfig |
getExportConfig()
Information about where the raw data used to generate this report was exported.
|
String |
getName()
The name of the report that was run.
|
String |
getReportGroupArn()
The ARN of the report group associated with this report.
|
String |
getStatus()
The status of this report.
|
TestReportSummary |
getTestSummary()
A
TestReportSummary object that contains information about this test report. |
Boolean |
getTruncated()
A boolean that specifies if this report run is truncated.
|
String |
getType()
The type of the report that was run.
|
int |
hashCode() |
Boolean |
isTruncated()
A boolean that specifies if this report run is truncated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the report run.
|
void |
setCodeCoverageSummary(CodeCoverageReportSummary codeCoverageSummary)
A
CodeCoverageReportSummary object that contains a code coverage summary for this report. |
void |
setCreated(Date created)
The date and time this report run occurred.
|
void |
setExecutionId(String executionId)
The ARN of the build run that generated this report.
|
void |
setExpired(Date expired)
The date and time a report expires.
|
void |
setExportConfig(ReportExportConfig exportConfig)
Information about where the raw data used to generate this report was exported.
|
void |
setName(String name)
The name of the report that was run.
|
void |
setReportGroupArn(String reportGroupArn)
The ARN of the report group associated with this report.
|
void |
setStatus(String status)
The status of this report.
|
void |
setTestSummary(TestReportSummary testSummary)
A
TestReportSummary object that contains information about this test report. |
void |
setTruncated(Boolean truncated)
A boolean that specifies if this report run is truncated.
|
void |
setType(String type)
The type of the report that was run.
|
String |
toString()
Returns a string representation of this object.
|
Report |
withArn(String arn)
The ARN of the report run.
|
Report |
withCodeCoverageSummary(CodeCoverageReportSummary codeCoverageSummary)
A
CodeCoverageReportSummary object that contains a code coverage summary for this report. |
Report |
withCreated(Date created)
The date and time this report run occurred.
|
Report |
withExecutionId(String executionId)
The ARN of the build run that generated this report.
|
Report |
withExpired(Date expired)
The date and time a report expires.
|
Report |
withExportConfig(ReportExportConfig exportConfig)
Information about where the raw data used to generate this report was exported.
|
Report |
withName(String name)
The name of the report that was run.
|
Report |
withReportGroupArn(String reportGroupArn)
The ARN of the report group associated with this report.
|
Report |
withStatus(ReportStatusType status)
The status of this report.
|
Report |
withStatus(String status)
The status of this report.
|
Report |
withTestSummary(TestReportSummary testSummary)
A
TestReportSummary object that contains information about this test report. |
Report |
withTruncated(Boolean truncated)
A boolean that specifies if this report run is truncated.
|
Report |
withType(ReportType type)
The type of the report that was run.
|
Report |
withType(String type)
The type of the report that was run.
|
public void setArn(String arn)
The ARN of the report run.
arn
- The ARN of the report run.public String getArn()
The ARN of the report run.
public Report withArn(String arn)
The ARN of the report run.
arn
- The ARN of the report run.public void setType(String type)
The type of the report that was run.
A code coverage report.
A test report.
type
- The type of the report that was run.
A code coverage report.
A test report.
ReportType
public String getType()
The type of the report that was run.
A code coverage report.
A test report.
A code coverage report.
A test report.
ReportType
public Report withType(String type)
The type of the report that was run.
A code coverage report.
A test report.
type
- The type of the report that was run.
A code coverage report.
A test report.
ReportType
public Report withType(ReportType type)
The type of the report that was run.
A code coverage report.
A test report.
type
- The type of the report that was run.
A code coverage report.
A test report.
ReportType
public void setName(String name)
The name of the report that was run.
name
- The name of the report that was run.public String getName()
The name of the report that was run.
public Report withName(String name)
The name of the report that was run.
name
- The name of the report that was run.public void setReportGroupArn(String reportGroupArn)
The ARN of the report group associated with this report.
reportGroupArn
- The ARN of the report group associated with this report.public String getReportGroupArn()
The ARN of the report group associated with this report.
public Report withReportGroupArn(String reportGroupArn)
The ARN of the report group associated with this report.
reportGroupArn
- The ARN of the report group associated with this report.public void setExecutionId(String executionId)
The ARN of the build run that generated this report.
executionId
- The ARN of the build run that generated this report.public String getExecutionId()
The ARN of the build run that generated this report.
public Report withExecutionId(String executionId)
The ARN of the build run that generated this report.
executionId
- The ARN of the build run that generated this report.public void setStatus(String status)
The status of this report.
status
- The status of this report.ReportStatusType
public String getStatus()
The status of this report.
ReportStatusType
public Report withStatus(String status)
The status of this report.
status
- The status of this report.ReportStatusType
public Report withStatus(ReportStatusType status)
The status of this report.
status
- The status of this report.ReportStatusType
public void setCreated(Date created)
The date and time this report run occurred.
created
- The date and time this report run occurred.public Date getCreated()
The date and time this report run occurred.
public Report withCreated(Date created)
The date and time this report run occurred.
created
- The date and time this report run occurred.public void setExpired(Date 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.
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 Date getExpired()
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 Report withExpired(Date 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.
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 void setExportConfig(ReportExportConfig exportConfig)
Information about where the raw data used to generate this report was exported.
exportConfig
- Information about where the raw data used to generate this report was exported.public ReportExportConfig getExportConfig()
Information about where the raw data used to generate this report was exported.
public Report withExportConfig(ReportExportConfig exportConfig)
Information about where the raw data used to generate this report was exported.
exportConfig
- Information about where the raw data used to generate this report was exported.public void setTruncated(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.
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 Boolean getTruncated()
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 Report withTruncated(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.
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 Boolean isTruncated()
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 void setTestSummary(TestReportSummary testSummary)
A TestReportSummary
object that contains information about this test report.
testSummary
- A TestReportSummary
object that contains information about this test report.public TestReportSummary getTestSummary()
A TestReportSummary
object that contains information about this test report.
TestReportSummary
object that contains information about this test report.public Report withTestSummary(TestReportSummary testSummary)
A TestReportSummary
object that contains information about this test report.
testSummary
- A TestReportSummary
object that contains information about this test report.public void setCodeCoverageSummary(CodeCoverageReportSummary codeCoverageSummary)
A CodeCoverageReportSummary
object that contains a code coverage summary for this report.
codeCoverageSummary
- A CodeCoverageReportSummary
object that contains a code coverage summary for this report.public CodeCoverageReportSummary getCodeCoverageSummary()
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 withCodeCoverageSummary(CodeCoverageReportSummary codeCoverageSummary)
A CodeCoverageReportSummary
object that contains a code coverage summary for this report.
codeCoverageSummary
- A CodeCoverageReportSummary
object that contains a code coverage summary for this report.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.