Class CfnSpace.CodeRepositoryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnSpace.CodeRepositoryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpace.CodeRepositoryProperty>
- Enclosing interface:
CfnSpace.CodeRepositoryProperty
@Stability(Stable)
public static final class CfnSpace.CodeRepositoryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpace.CodeRepositoryProperty>
A builder for
CfnSpace.CodeRepositoryProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.repositoryUrl
(String repositoryUrl) Sets the value ofCfnSpace.CodeRepositoryProperty.getRepositoryUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
repositoryUrl
@Stability(Stable) public CfnSpace.CodeRepositoryProperty.Builder repositoryUrl(String repositoryUrl) Sets the value ofCfnSpace.CodeRepositoryProperty.getRepositoryUrl()
- Parameters:
repositoryUrl
- The URL of the Git repository. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSpace.CodeRepositoryProperty>
- Returns:
- a new instance of
CfnSpace.CodeRepositoryProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-