public static final class CfnCodeRepositoryProps.Builder
extends java.lang.Object
CfnCodeRepositoryProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCodeRepositoryProps |
build()
Builds the configured instance.
|
CfnCodeRepositoryProps.Builder |
codeRepositoryName(java.lang.String codeRepositoryName)
Sets the value of
CfnCodeRepositoryProps.getCodeRepositoryName() |
CfnCodeRepositoryProps.Builder |
gitConfig(CfnCodeRepository.GitConfigProperty gitConfig)
Sets the value of
CfnCodeRepositoryProps.getGitConfig() |
CfnCodeRepositoryProps.Builder |
gitConfig(IResolvable gitConfig)
Sets the value of
CfnCodeRepositoryProps.getGitConfig() |
CfnCodeRepositoryProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnCodeRepositoryProps.getTags() |
public CfnCodeRepositoryProps.Builder gitConfig(IResolvable gitConfig)
CfnCodeRepositoryProps.getGitConfig()
gitConfig
- Configuration details for the Git repository, including the URL where it is located and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the repository. This parameter is required.this
public CfnCodeRepositoryProps.Builder gitConfig(CfnCodeRepository.GitConfigProperty gitConfig)
CfnCodeRepositoryProps.getGitConfig()
gitConfig
- Configuration details for the Git repository, including the URL where it is located and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the repository. This parameter is required.this
public CfnCodeRepositoryProps.Builder codeRepositoryName(java.lang.String codeRepositoryName)
CfnCodeRepositoryProps.getCodeRepositoryName()
codeRepositoryName
- The name of the Git repository.this
public CfnCodeRepositoryProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnCodeRepositoryProps.getTags()
tags
- List of tags for Code Repository.this
public CfnCodeRepositoryProps build()
CfnCodeRepositoryProps
java.lang.NullPointerException
- if any required attribute was not provided