Class CfnCodeRepositoryPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnCodeRepositoryPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeRepositoryPropsMixin>
- Enclosing class:
CfnCodeRepositoryPropsMixin
@Stability(Stable)
public static final class CfnCodeRepositoryPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeRepositoryPropsMixin>
A fluent builder for
CfnCodeRepositoryPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()codeRepositoryName(String codeRepositoryName) The name of the Git repository.create()create(CfnPropertyMixinOptions options) 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(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.List of tags for Code Repository.
-
Method Details
-
create
@Stability(Stable) public static CfnCodeRepositoryPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCodeRepositoryPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCodeRepositoryPropsMixin.Builder.
-
codeRepositoryName
@Stability(Stable) public CfnCodeRepositoryPropsMixin.Builder codeRepositoryName(String codeRepositoryName) The name of the Git repository.- Parameters:
codeRepositoryName- The name of the Git repository. This parameter is required.- Returns:
this- See Also:
-
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:
-
gitConfig
@Stability(Stable) public CfnCodeRepositoryPropsMixin.Builder gitConfig(CfnCodeRepositoryPropsMixin.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:
-
tags
List 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 interfacesoftware.amazon.jsii.Builder<CfnCodeRepositoryPropsMixin>- Returns:
- a newly built instance of
CfnCodeRepositoryPropsMixin.
-