Interface GitHubTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GitHubTarget.Builder,,GitHubTarget> SdkBuilder<GitHubTarget.Builder,,GitHubTarget> SdkPojo
- Enclosing class:
GitHubTarget
@Mutable
@NotThreadSafe
public static interface GitHubTarget.Builder
extends SdkPojo, CopyableBuilder<GitHubTarget.Builder,GitHubTarget>
-
Method Summary
Modifier and TypeMethodDescriptionThe head commit SHA of the pull request.The GitHub user or organization that owns the repository.pullRequestNumber(Long pullRequestNumber) Repository-scoped pull request number assigned by GitHub.repository(String repository) The repository name.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
-
owner
The GitHub user or organization that owns the repository.
- Parameters:
owner- The GitHub user or organization that owns the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
The repository name.
- Parameters:
repository- The repository name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequestNumber
Repository-scoped pull request number assigned by GitHub.
- Parameters:
pullRequestNumber- Repository-scoped pull request number assigned by GitHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headSha
The head commit SHA of the pull request. Absent until the pull request is opened.
- Parameters:
headSha- The head commit SHA of the pull request. Absent until the pull request is opened.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-