@Stability(value=Stable) public static final class CfnCodeRepository.GitConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCodeRepository.GitConfigProperty>
CfnCodeRepository.GitConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCodeRepository.GitConfigProperty.Builder |
branch(String branch)
Sets the value of
CfnCodeRepository.GitConfigProperty.getBranch() |
CfnCodeRepository.GitConfigProperty |
build()
Builds the configured instance.
|
CfnCodeRepository.GitConfigProperty.Builder |
repositoryUrl(String repositoryUrl)
Sets the value of
CfnCodeRepository.GitConfigProperty.getRepositoryUrl() |
CfnCodeRepository.GitConfigProperty.Builder |
secretArn(String secretArn)
Sets the value of
CfnCodeRepository.GitConfigProperty.getSecretArn() |
@Stability(value=Stable) public CfnCodeRepository.GitConfigProperty.Builder repositoryUrl(String repositoryUrl)
CfnCodeRepository.GitConfigProperty.getRepositoryUrl()repositoryUrl - The URL where the Git repository is located. This parameter is required.this@Stability(value=Stable) public CfnCodeRepository.GitConfigProperty.Builder branch(String branch)
CfnCodeRepository.GitConfigProperty.getBranch()branch - The default branch for the Git repository.this@Stability(value=Stable) public CfnCodeRepository.GitConfigProperty.Builder secretArn(String secretArn)
CfnCodeRepository.GitConfigProperty.getSecretArn()secretArn - The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the git repository.
The secret must have a staging label of AWSCURRENT and must be in the following format:
{"username": *UserName* , "password": *Password* }
this@Stability(value=Stable) public CfnCodeRepository.GitConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnCodeRepository.GitConfigProperty>CfnCodeRepository.GitConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.