Interface CodeCoverage.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CodeCoverage.Builder,CodeCoverage>, SdkBuilder<CodeCoverage.Builder,CodeCoverage>, SdkPojo
Enclosing class:
CodeCoverage

public static interface CodeCoverage.Builder extends SdkPojo, CopyableBuilder<CodeCoverage.Builder,CodeCoverage>
  • Method Details

    • id

      The identifier of the code coverage report.

      Parameters:
      id - The identifier of the code coverage report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reportARN

      CodeCoverage.Builder reportARN(String reportARN)

      The ARN of the report.

      Parameters:
      reportARN - The ARN of the report.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filePath

      CodeCoverage.Builder filePath(String filePath)

      The path of the test report file.

      Parameters:
      filePath - The path of the test report file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineCoveragePercentage

      CodeCoverage.Builder lineCoveragePercentage(Double lineCoveragePercentage)

      The percentage of lines that are covered by your tests.

      Parameters:
      lineCoveragePercentage - The percentage of lines that are covered by your tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linesCovered

      CodeCoverage.Builder linesCovered(Integer linesCovered)

      The number of lines that are covered by your tests.

      Parameters:
      linesCovered - The number of lines that are covered by your tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linesMissed

      CodeCoverage.Builder linesMissed(Integer linesMissed)

      The number of lines that are not covered by your tests.

      Parameters:
      linesMissed - The number of lines that are not covered by your tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branchCoveragePercentage

      CodeCoverage.Builder branchCoveragePercentage(Double branchCoveragePercentage)

      The percentage of branches that are covered by your tests.

      Parameters:
      branchCoveragePercentage - The percentage of branches that are covered by your tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branchesCovered

      CodeCoverage.Builder branchesCovered(Integer branchesCovered)

      The number of conditional branches that are covered by your tests.

      Parameters:
      branchesCovered - The number of conditional branches that are covered by your tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • branchesMissed

      CodeCoverage.Builder branchesMissed(Integer branchesMissed)

      The number of conditional branches that are not covered by your tests.

      Parameters:
      branchesMissed - The number of conditional branches that are not covered by your tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expired

      CodeCoverage.Builder expired(Instant expired)

      The date and time that the tests were run.

      Parameters:
      expired - The date and time that the tests were run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.