@Stability(value=Stable) public static final class CfnRepository.CodeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRepository.CodeProperty>
CfnRepository.CodeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRepository.CodeProperty.Builder |
branchName(String branchName)
Sets the value of
CfnRepository.CodeProperty.getBranchName() |
CfnRepository.CodeProperty |
build()
Builds the configured instance.
|
CfnRepository.CodeProperty.Builder |
s3(CfnRepository.S3Property s3)
Sets the value of
CfnRepository.CodeProperty.getS3() |
CfnRepository.CodeProperty.Builder |
s3(IResolvable s3)
Sets the value of
CfnRepository.CodeProperty.getS3() |
@Stability(value=Stable) public CfnRepository.CodeProperty.Builder s3(CfnRepository.S3Property s3)
CfnRepository.CodeProperty.getS3()s3 - Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository. This parameter is required.
Changes to this property are ignored after initial resource creation.this@Stability(value=Stable) public CfnRepository.CodeProperty.Builder s3(IResolvable s3)
CfnRepository.CodeProperty.getS3()s3 - Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository. This parameter is required.
Changes to this property are ignored after initial resource creation.this@Stability(value=Stable) public CfnRepository.CodeProperty.Builder branchName(String branchName)
CfnRepository.CodeProperty.getBranchName()branchName - Optional.
Specifies a branch name to be used as the default branch when importing code into a repository on initial creation. If this property is not set, the name main will be used for the default branch for the repository. Changes to this property are ignored after initial resource creation. We recommend using this parameter to set the name to main to align with the default behavior of CodeCommit unless another name is needed.this@Stability(value=Stable) public CfnRepository.CodeProperty build()
build in interface software.amazon.jsii.Builder<CfnRepository.CodeProperty>CfnRepository.CodePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.