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