Class CfnUserProfile.CodeRepositoryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnUserProfile.CodeRepositoryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfile.CodeRepositoryProperty>
- Enclosing interface:
CfnUserProfile.CodeRepositoryProperty
@Stability(Stable)
public static final class CfnUserProfile.CodeRepositoryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfile.CodeRepositoryProperty>
A builder for
CfnUserProfile.CodeRepositoryProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.repositoryUrl
(String repositoryUrl) Sets the value ofCfnUserProfile.CodeRepositoryProperty.getRepositoryUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
repositoryUrl
@Stability(Stable) public CfnUserProfile.CodeRepositoryProperty.Builder repositoryUrl(String repositoryUrl) Sets the value ofCfnUserProfile.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<CfnUserProfile.CodeRepositoryProperty>
- Returns:
- a new instance of
CfnUserProfile.CodeRepositoryProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-