Class CfnCodeRepository.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnCodeRepository.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnCodeRepository>
- Enclosing class:
- CfnCodeRepository
@Stability(Stable)
public static final class CfnCodeRepository.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeRepository>
A fluent builder for 
CfnCodeRepository.- 
Method SummaryModifier and TypeMethodDescriptionbuild()codeRepositoryName(String codeRepositoryName) The name of the Git repository.static CfnCodeRepository.BuildergitConfig(IResolvable 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.gitConfig(CfnCodeRepository.GitConfigProperty 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.List of tags for Code Repository.
- 
Method Details- 
create@Stability(Stable) public static CfnCodeRepository.Builder create(software.constructs.Construct scope, String id) - Parameters:
- scope- Scope in which this resource is defined. This parameter is required.
- id- Construct identifier for this resource (unique in its scope). This parameter is required.
- Returns:
- a new instance of CfnCodeRepository.Builder.
 
- 
gitConfigConfiguration 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.- Parameters:
- 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.
- Returns:
- this
- See Also:
 
- 
gitConfig@Stability(Stable) public CfnCodeRepository.Builder gitConfig(CfnCodeRepository.GitConfigProperty 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.- Parameters:
- 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.
- Returns:
- this
- See Also:
 
- 
codeRepositoryNameThe name of the Git repository.- Parameters:
- codeRepositoryName- The name of the Git repository. This parameter is required.
- Returns:
- this
- See Also:
 
- 
tagsList of tags for Code Repository.- Parameters:
- tags- List of tags for Code Repository. This parameter is required.
- Returns:
- this
- See Also:
 
- 
build- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnCodeRepository>
- Returns:
- a newly built instance of CfnCodeRepository.
 
 
-