@Stability(value=Stable) public static final class RepositoryProps.Builder extends Object implements software.amazon.jsii.Builder<RepositoryProps>
RepositoryProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryProps |
build()
Builds the configured instance.
|
RepositoryProps.Builder |
code(Code code)
Sets the value of
RepositoryProps.getCode() |
RepositoryProps.Builder |
description(String description)
Sets the value of
RepositoryProps.getDescription() |
RepositoryProps.Builder |
repositoryName(String repositoryName)
Sets the value of
RepositoryProps.getRepositoryName() |
@Stability(value=Stable) public RepositoryProps.Builder repositoryName(String repositoryName)
RepositoryProps.getRepositoryName()repositoryName - Name of the repository. This parameter is required.
This property is required for all CodeCommit repositories.this@Stability(value=Stable) public RepositoryProps.Builder code(Code code)
RepositoryProps.getCode()code - The contents with which to initialize the repository after it has been created.this@Stability(value=Stable) public RepositoryProps.Builder description(String description)
RepositoryProps.getDescription()description - A description of the repository.
Use the description to identify the
purpose of the repository.this@Stability(value=Stable) public RepositoryProps build()
build in interface software.amazon.jsii.Builder<RepositoryProps>RepositoryPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.