@Stability(value=Experimental) public static final class GitHubRepositoryProps.Builder extends Object implements software.amazon.jsii.Builder<GitHubRepositoryProps>
GitHubRepositoryProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public GitHubRepositoryProps.Builder accessToken(SecretValue accessToken)
GitHubRepositoryProps.getAccessToken()accessToken - The GitHub user's personal access token for the GitHub repository. This parameter is required.this@Stability(value=Experimental) public GitHubRepositoryProps.Builder contentsBucket(IBucket contentsBucket)
GitHubRepositoryProps.getContentsBucket()contentsBucket - The name of the Amazon S3 bucket that contains the ZIP file with the content to be committed to the new repository. This parameter is required.this@Stability(value=Experimental) public GitHubRepositoryProps.Builder contentsKey(String contentsKey)
GitHubRepositoryProps.getContentsKey()contentsKey - The S3 object key or file name for the ZIP file. This parameter is required.this@Stability(value=Experimental) public GitHubRepositoryProps.Builder owner(String owner)
GitHubRepositoryProps.getOwner()owner - The GitHub user name for the owner of the GitHub repository to be created. This parameter is required.
If this
repository should be owned by a GitHub organization, provide its namethis@Stability(value=Experimental) public GitHubRepositoryProps.Builder repositoryName(String repositoryName)
GitHubRepositoryProps.getRepositoryName()repositoryName - The name of the repository you want to create in GitHub with AWS CloudFormation stack creation. This parameter is required.this@Stability(value=Experimental) public GitHubRepositoryProps.Builder contentsS3Version(String contentsS3Version)
GitHubRepositoryProps.getContentsS3Version()contentsS3Version - The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.this@Stability(value=Experimental) public GitHubRepositoryProps.Builder description(String description)
GitHubRepositoryProps.getDescription()description - A comment or description about the new repository.
This description is displayed in GitHub after the repository
is created.this@Stability(value=Experimental) public GitHubRepositoryProps.Builder enableIssues(Boolean enableIssues)
GitHubRepositoryProps.getEnableIssues()enableIssues - Indicates whether to enable issues for the GitHub repository.
You can use GitHub issues to track information
and bugs for your repository.this@Stability(value=Experimental) public GitHubRepositoryProps.Builder visibility(RepositoryVisibility visibility)
GitHubRepositoryProps.getVisibility()visibility - Indicates whether the GitHub repository is a private repository.
If so, you choose who can see and commit to
this repository.this@Stability(value=Experimental) public GitHubRepositoryProps build()
build in interface software.amazon.jsii.Builder<GitHubRepositoryProps>GitHubRepositoryPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.