Interface ScopeChange.Builder

  • Method Details

    • integrationId

      ScopeChange.Builder integrationId(String integrationId)

      The identifier of the integration for the source-code provider that hosts the repository.

      Parameters:
      integrationId - The identifier of the integration for the source-code provider that hosts the repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerResourceId

      ScopeChange.Builder providerResourceId(String providerResourceId)

      The provider-specific identifier of the repository the change belongs to.

      Parameters:
      providerResourceId - The provider-specific identifier of the repository the change belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • baseCommitSha

      ScopeChange.Builder baseCommitSha(String baseCommitSha)

      The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.

      Parameters:
      baseCommitSha - The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • headCommitSha

      ScopeChange.Builder headCommitSha(String headCommitSha)

      The commit SHA at the tip of the change to be tested.

      Parameters:
      headCommitSha - The commit SHA at the tip of the change to be tested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerRunId

      ScopeChange.Builder triggerRunId(String triggerRunId)

      The identifier of the CI/CD pipeline run that triggered this pentest job.

      Parameters:
      triggerRunId - The identifier of the CI/CD pipeline run that triggered this pentest job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.