@Stability(value=Experimental) public static final class GitHubRepository.Builder extends Object implements software.amazon.jsii.Builder<GitHubRepository>
GitHubRepository.| Modifier and Type | Method and Description |
|---|---|
GitHubRepository.Builder |
accessToken(SecretValue accessToken)
(experimental) The GitHub user's personal access token for the GitHub repository.
|
GitHubRepository |
build() |
GitHubRepository.Builder |
contentsBucket(IBucket contentsBucket)
(experimental) The name of the Amazon S3 bucket that contains the ZIP file with the content to be committed to the new repository.
|
GitHubRepository.Builder |
contentsKey(String contentsKey)
(experimental) The S3 object key or file name for the ZIP file.
|
GitHubRepository.Builder |
contentsS3Version(String contentsS3Version)
(experimental) The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.
|
static GitHubRepository.Builder |
create(software.constructs.Construct scope,
String id) |
GitHubRepository.Builder |
description(String description)
(experimental) A comment or description about the new repository.
|
GitHubRepository.Builder |
enableIssues(Boolean enableIssues)
(experimental) Indicates whether to enable issues for the GitHub repository.
|
GitHubRepository.Builder |
owner(String owner)
(experimental) The GitHub user name for the owner of the GitHub repository to be created.
|
GitHubRepository.Builder |
repositoryName(String repositoryName)
(experimental) The name of the repository you want to create in GitHub with AWS CloudFormation stack creation.
|
GitHubRepository.Builder |
visibility(RepositoryVisibility visibility)
(experimental) Indicates whether the GitHub repository is a private repository.
|
@Stability(value=Experimental) public static GitHubRepository.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.GitHubRepository.Builder.@Stability(value=Experimental) public GitHubRepository.Builder accessToken(SecretValue accessToken)
accessToken - The GitHub user's personal access token for the GitHub repository. This parameter is required.this@Stability(value=Experimental) public GitHubRepository.Builder contentsBucket(IBucket contentsBucket)
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 GitHubRepository.Builder contentsKey(String contentsKey)
contentsKey - The S3 object key or file name for the ZIP file. This parameter is required.this@Stability(value=Experimental) public GitHubRepository.Builder owner(String owner)
If this repository should be owned by a GitHub organization, provide its name
owner - The GitHub user name for the owner of the GitHub repository to be created. This parameter is required.this@Stability(value=Experimental) public GitHubRepository.Builder repositoryName(String repositoryName)
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 GitHubRepository.Builder contentsS3Version(String contentsS3Version)
Default: - not specified
contentsS3Version - The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket. This parameter is required.this@Stability(value=Experimental) public GitHubRepository.Builder description(String description)
This description is displayed in GitHub after the repository is created.
Default: - no description
description - A comment or description about the new repository. This parameter is required.this@Stability(value=Experimental) public GitHubRepository.Builder enableIssues(Boolean enableIssues)
You can use GitHub issues to track information and bugs for your repository.
Default: true
enableIssues - Indicates whether to enable issues for the GitHub repository. This parameter is required.this@Stability(value=Experimental) public GitHubRepository.Builder visibility(RepositoryVisibility visibility)
If so, you choose who can see and commit to this repository.
Default: RepositoryVisibility.PUBLIC
visibility - Indicates whether the GitHub repository is a private repository. This parameter is required.this@Stability(value=Experimental) public GitHubRepository build()
build in interface software.amazon.jsii.Builder<GitHubRepository>Copyright © 2023. All rights reserved.