Interface TestRunSummary.Builder

  • Method Details

    • testRunId

      TestRunSummary.Builder testRunId(String testRunId)

      The unique identifier of the test run.

      Parameters:
      testRunId - The unique identifier of the test run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the test run.

      Parameters:
      status - The current status of the test run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the test run.

      Parameters:
      status - The current status of the test run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startedAt

      TestRunSummary.Builder startedAt(Instant startedAt)

      The timestamp when the test run started.

      Parameters:
      startedAt - The timestamp when the test run started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedAt

      TestRunSummary.Builder endedAt(Instant endedAt)

      The timestamp when the test run ended.

      Parameters:
      endedAt - The timestamp when the test run ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testTemplateArn

      TestRunSummary.Builder testTemplateArn(String testTemplateArn)

      The ARN of the test template the test run was based on.

      Parameters:
      testTemplateArn - The ARN of the test template the test run was based on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceArn

      TestRunSummary.Builder serviceArn(String serviceArn)

      The ARN of the service the test run belongs to.

      Parameters:
      serviceArn - The ARN of the service the test run belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      TestRunSummary.Builder errorMessage(String errorMessage)

      A human-readable reason for test run failure. Only present when the status is FAILED or ERROR.

      Parameters:
      errorMessage - A human-readable reason for test run failure. Only present when the status is FAILED or ERROR.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountTargeting

      TestRunSummary.Builder accountTargeting(String accountTargeting)

      Indicates whether this test run targets a single account or multiple accounts.

      Parameters:
      accountTargeting - Indicates whether this test run targets a single account or multiple accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accountTargeting

      TestRunSummary.Builder accountTargeting(AccountTargeting accountTargeting)

      Indicates whether this test run targets a single account or multiple accounts.

      Parameters:
      accountTargeting - Indicates whether this test run targets a single account or multiple accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: