@Stability(value=Stable) public static final class CfnRepositoryProps.Builder extends Object implements software.amazon.jsii.Builder<CfnRepositoryProps>
CfnRepositoryProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRepositoryProps |
build()
Builds the configured instance.
|
CfnRepositoryProps.Builder |
code(CfnRepository.CodeProperty code)
Sets the value of
CfnRepositoryProps.getCode() |
CfnRepositoryProps.Builder |
code(IResolvable code)
Sets the value of
CfnRepositoryProps.getCode() |
CfnRepositoryProps.Builder |
repositoryDescription(String repositoryDescription)
Sets the value of
CfnRepositoryProps.getRepositoryDescription() |
CfnRepositoryProps.Builder |
repositoryName(String repositoryName)
Sets the value of
CfnRepositoryProps.getRepositoryName() |
CfnRepositoryProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnRepositoryProps.getTags() |
CfnRepositoryProps.Builder |
triggers(IResolvable triggers)
Sets the value of
CfnRepositoryProps.getTriggers() |
CfnRepositoryProps.Builder |
triggers(List<? extends Object> triggers)
Sets the value of
CfnRepositoryProps.getTriggers() |
@Stability(value=Stable) public CfnRepositoryProps.Builder repositoryName(String repositoryName)
CfnRepositoryProps.getRepositoryName()repositoryName - The name of the new repository to be created. This parameter is required.
The repository name must be unique across the calling AWS account . Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see Quotas in the AWS CodeCommit User Guide . The suffix .git is prohibited.
this@Stability(value=Stable) public CfnRepositoryProps.Builder code(CfnRepository.CodeProperty code)
CfnRepositoryProps.getCode()code - Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.
Information about code is only used in resource creation. Updates to a stack will not reflect changes made to code properties after initial resource creation.
You can only use this property to add code when creating a repository with a AWS CloudFormation template at creation time. This property cannot be used for updating code to an existing repository.
this@Stability(value=Stable) public CfnRepositoryProps.Builder code(IResolvable code)
CfnRepositoryProps.getCode()code - Information about code to be committed to a repository after it is created in an AWS CloudFormation stack.
Information about code is only used in resource creation. Updates to a stack will not reflect changes made to code properties after initial resource creation.
You can only use this property to add code when creating a repository with a AWS CloudFormation template at creation time. This property cannot be used for updating code to an existing repository.
this@Stability(value=Stable) public CfnRepositoryProps.Builder repositoryDescription(String repositoryDescription)
CfnRepositoryProps.getRepositoryDescription()repositoryDescription - A comment or description about the new repository.
The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
this@Stability(value=Stable) public CfnRepositoryProps.Builder tags(List<? extends CfnTag> tags)
CfnRepositoryProps.getTags()tags - One or more tag key-value pairs to use when tagging this repository.this@Stability(value=Stable) public CfnRepositoryProps.Builder triggers(IResolvable triggers)
CfnRepositoryProps.getTriggers()triggers - The JSON block of configuration information for each trigger.this@Stability(value=Stable) public CfnRepositoryProps.Builder triggers(List<? extends Object> triggers)
CfnRepositoryProps.getTriggers()triggers - The JSON block of configuration information for each trigger.this@Stability(value=Stable) public CfnRepositoryProps build()
build in interface software.amazon.jsii.Builder<CfnRepositoryProps>CfnRepositoryPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.