Class GitHubRepositoryReference.Builder
java.lang.Object
software.amazon.awscdk.services.codestar.GitHubRepositoryReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GitHubRepositoryReference>
- Enclosing interface:
GitHubRepositoryReference
@Stability(Stable)
public static final class GitHubRepositoryReference.Builder
extends Object
implements software.amazon.jsii.Builder<GitHubRepositoryReference>
A builder for
GitHubRepositoryReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gitHubRepositoryId(String gitHubRepositoryId) Sets the value ofGitHubRepositoryReference.getGitHubRepositoryId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gitHubRepositoryId
@Stability(Stable) public GitHubRepositoryReference.Builder gitHubRepositoryId(String gitHubRepositoryId) Sets the value ofGitHubRepositoryReference.getGitHubRepositoryId()- Parameters:
gitHubRepositoryId- The Id of the GitHubRepository resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GitHubRepositoryReference>- Returns:
- a new instance of
GitHubRepositoryReference - Throws:
NullPointerException- if any required attribute was not provided
-