Class CfnEnvironmentEC2.RepositoryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloud9.CfnEnvironmentEC2.RepositoryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentEC2.RepositoryProperty>
- Enclosing interface:
- CfnEnvironmentEC2.RepositoryProperty
@Stability(Stable)
public static final class CfnEnvironmentEC2.RepositoryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentEC2.RepositoryProperty>
A builder for
CfnEnvironmentEC2.RepositoryProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.pathComponent
(String pathComponent) Sets the value ofCfnEnvironmentEC2.RepositoryProperty.getPathComponent()
repositoryUrl
(String repositoryUrl) Sets the value ofCfnEnvironmentEC2.RepositoryProperty.getRepositoryUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pathComponent
@Stability(Stable) public CfnEnvironmentEC2.RepositoryProperty.Builder pathComponent(String pathComponent) Sets the value ofCfnEnvironmentEC2.RepositoryProperty.getPathComponent()
- Parameters:
pathComponent
- The path within the development environment's default file system location to clone the AWS CodeCommit repository into. This parameter is required. For example,/REPOSITORY_NAME
would clone the repository into the/home/USER_NAME/environment/REPOSITORY_NAME
directory in the environment.- Returns:
this
-
repositoryUrl
@Stability(Stable) public CfnEnvironmentEC2.RepositoryProperty.Builder repositoryUrl(String repositoryUrl) Sets the value ofCfnEnvironmentEC2.RepositoryProperty.getRepositoryUrl()
- Parameters:
repositoryUrl
- The clone URL of the AWS CodeCommit repository to be cloned. This parameter is required. For example, for an AWS CodeCommit repository this might behttps://git-codecommit.us-east-2.amazonaws.com/v1/repos/REPOSITORY_NAME
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnvironmentEC2.RepositoryProperty>
- Returns:
- a new instance of
CfnEnvironmentEC2.RepositoryProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-