@Stability(value=Stable) public static final class Repository.Builder extends Object implements software.amazon.jsii.Builder<Repository>
Repository.| Modifier and Type | Method and Description |
|---|---|
Repository |
build() |
Repository.Builder |
code(Code code)
The contents with which to initialize the repository after it has been created.
|
static Repository.Builder |
create(software.constructs.Construct scope,
String id) |
Repository.Builder |
description(String description)
A description of the repository.
|
Repository.Builder |
repositoryName(String repositoryName)
Name of the repository.
|
@Stability(value=Stable) public static Repository.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Repository.Builder.@Stability(value=Stable) public Repository.Builder repositoryName(String repositoryName)
This property is required for all CodeCommit repositories.
repositoryName - Name of the repository. This parameter is required.this@Stability(value=Stable) public Repository.Builder code(Code code)
Default: - No initialization (create empty repo)
code - The contents with which to initialize the repository after it has been created. This parameter is required.this@Stability(value=Stable) public Repository.Builder description(String description)
Use the description to identify the purpose of the repository.
Default: - No description.
description - A description of the repository. This parameter is required.this@Stability(value=Stable) public Repository build()
build in interface software.amazon.jsii.Builder<Repository>Copyright © 2022. All rights reserved.