Class CfnGitHubRepositoryPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codestar.CfnGitHubRepositoryPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGitHubRepositoryPropsMixin>
- Enclosing class:
CfnGitHubRepositoryPropsMixin
@Stability(Stable)
public static final class CfnGitHubRepositoryPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGitHubRepositoryPropsMixin>
A fluent builder for
CfnGitHubRepositoryPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Information about code to be committed to a repository after it is created in an CloudFormation stack.code(IResolvable code) Information about code to be committed to a repository after it is created in an CloudFormation stack.connectionArn(String connectionArn) create()create(CfnPropertyMixinOptions options) enableIssues(Boolean enableIssues) Indicates whether to enable issues for the GitHub repository.enableIssues(IResolvable enableIssues) Indicates whether to enable issues for the GitHub repository.Indicates whether the GitHub repository is a private repository.isPrivate(IResolvable isPrivate) Indicates whether the GitHub repository is a private repository.repositoryAccessToken(String repositoryAccessToken) The GitHub user's personal access token for the GitHub repository.repositoryDescription(String repositoryDescription) A comment or description about the new repository.repositoryName(String repositoryName) The name of the repository you want to create in GitHub with CloudFormation stack creation.repositoryOwner(String repositoryOwner) The GitHub user name for the owner of the GitHub repository to be created.
-
Method Details
-
create
@Stability(Stable) public static CfnGitHubRepositoryPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGitHubRepositoryPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGitHubRepositoryPropsMixin.Builder.
-
code
Information about code to be committed to a repository after it is created in an CloudFormation stack.- Parameters:
code- Information about code to be committed to a repository after it is created in an CloudFormation stack. This parameter is required.- Returns:
this- See Also:
-
code
@Stability(Stable) public CfnGitHubRepositoryPropsMixin.Builder code(CfnGitHubRepositoryPropsMixin.CodeProperty code) Information about code to be committed to a repository after it is created in an CloudFormation stack.- Parameters:
code- Information about code to be committed to a repository after it is created in an CloudFormation stack. This parameter is required.- Returns:
this- See Also:
-
connectionArn
- Parameters:
connectionArn- This parameter is required.- Returns:
this- See Also:
-
enableIssues
Indicates whether to enable issues for the GitHub repository.You can use GitHub issues to track information and bugs for your repository.
- Parameters:
enableIssues- Indicates whether to enable issues for the GitHub repository. This parameter is required.- Returns:
this- See Also:
-
enableIssues
@Stability(Stable) public CfnGitHubRepositoryPropsMixin.Builder enableIssues(IResolvable enableIssues) Indicates whether to enable issues for the GitHub repository.You can use GitHub issues to track information and bugs for your repository.
- Parameters:
enableIssues- Indicates whether to enable issues for the GitHub repository. This parameter is required.- Returns:
this- See Also:
-
isPrivate
Indicates whether the GitHub repository is a private repository.If so, you choose who can see and commit to this repository.
- Parameters:
isPrivate- Indicates whether the GitHub repository is a private repository. This parameter is required.- Returns:
this- See Also:
-
isPrivate
Indicates whether the GitHub repository is a private repository.If so, you choose who can see and commit to this repository.
- Parameters:
isPrivate- Indicates whether the GitHub repository is a private repository. This parameter is required.- Returns:
this- See Also:
-
repositoryAccessToken
@Stability(Stable) public CfnGitHubRepositoryPropsMixin.Builder repositoryAccessToken(String repositoryAccessToken) The GitHub user's personal access token for the GitHub repository.- Parameters:
repositoryAccessToken- The GitHub user's personal access token for the GitHub repository. This parameter is required.- Returns:
this- See Also:
-
repositoryDescription
@Stability(Stable) public CfnGitHubRepositoryPropsMixin.Builder repositoryDescription(String repositoryDescription) A comment or description about the new repository.This description is displayed in GitHub after the repository is created.
- Parameters:
repositoryDescription- A comment or description about the new repository. This parameter is required.- Returns:
this- See Also:
-
repositoryName
@Stability(Stable) public CfnGitHubRepositoryPropsMixin.Builder repositoryName(String repositoryName) The name of the repository you want to create in GitHub with CloudFormation stack creation.- Parameters:
repositoryName- The name of the repository you want to create in GitHub with CloudFormation stack creation. This parameter is required.- Returns:
this- See Also:
-
repositoryOwner
@Stability(Stable) public CfnGitHubRepositoryPropsMixin.Builder repositoryOwner(String repositoryOwner) The GitHub user name for the owner of the GitHub repository to be created.If this repository should be owned by a GitHub organization, provide its name.
- Parameters:
repositoryOwner- The GitHub user name for the owner of the GitHub repository to be created. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGitHubRepositoryPropsMixin>- Returns:
- a newly built instance of
CfnGitHubRepositoryPropsMixin.
-