Class CfnCodeRepositoryProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnCodeRepositoryProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnCodeRepositoryProps>
- Enclosing interface:
- CfnCodeRepositoryProps
@Stability(Stable)
public static final class CfnCodeRepositoryProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeRepositoryProps>
A builder for 
CfnCodeRepositoryProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.codeRepositoryName(String codeRepositoryName) Sets the value ofCfnCodeRepositoryProps.getCodeRepositoryName()gitConfig(IResolvable gitConfig) Sets the value ofCfnCodeRepositoryProps.getGitConfig()gitConfig(CfnCodeRepository.GitConfigProperty gitConfig) Sets the value ofCfnCodeRepositoryProps.getGitConfig()Sets the value ofCfnCodeRepositoryProps.getTags()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
gitConfigSets the value ofCfnCodeRepositoryProps.getGitConfig()- 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
 
- 
gitConfig@Stability(Stable) public CfnCodeRepositoryProps.Builder gitConfig(CfnCodeRepository.GitConfigProperty gitConfig) Sets the value ofCfnCodeRepositoryProps.getGitConfig()- 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
 
- 
codeRepositoryName@Stability(Stable) public CfnCodeRepositoryProps.Builder codeRepositoryName(String codeRepositoryName) Sets the value ofCfnCodeRepositoryProps.getCodeRepositoryName()- Parameters:
- codeRepositoryName- The name of the Git repository.
- Returns:
- this
 
- 
tagsSets the value ofCfnCodeRepositoryProps.getTags()- Parameters:
- tags- List of tags for Code Repository.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnCodeRepositoryProps>
- Returns:
- a new instance of CfnCodeRepositoryProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-