Interface ScopeChange.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScopeChange.Builder,,ScopeChange> SdkBuilder<ScopeChange.Builder,,ScopeChange> SdkPojo
- Enclosing class:
ScopeChange
@Mutable
@NotThreadSafe
public static interface ScopeChange.Builder
extends SdkPojo, CopyableBuilder<ScopeChange.Builder,ScopeChange>
-
Method Summary
Modifier and TypeMethodDescriptionbaseCommitSha(String baseCommitSha) The commit SHA that the change is compared against.headCommitSha(String headCommitSha) The commit SHA at the tip of the change to be tested.integrationId(String integrationId) The identifier of the integration for the source-code provider that hosts the repository.providerResourceId(String providerResourceId) The provider-specific identifier of the repository the change belongs to.triggerRunId(String triggerRunId) The identifier of the CI/CD pipeline run that triggered this pentest job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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.
-