Class CfnCloudFormationProduct.CodeStarParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnCloudFormationProduct.CodeStarParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudFormationProduct.CodeStarParametersProperty>
- Enclosing interface:
CfnCloudFormationProduct.CodeStarParametersProperty
@Stability(Stable)
public static final class CfnCloudFormationProduct.CodeStarParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudFormationProduct.CodeStarParametersProperty>
A builder for
CfnCloudFormationProduct.CodeStarParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionartifactPath
(String artifactPath) Sets the value ofCfnCloudFormationProduct.CodeStarParametersProperty.getArtifactPath()
Sets the value ofCfnCloudFormationProduct.CodeStarParametersProperty.getBranch()
build()
Builds the configured instance.connectionArn
(String connectionArn) Sets the value ofCfnCloudFormationProduct.CodeStarParametersProperty.getConnectionArn()
repository
(String repository) Sets the value ofCfnCloudFormationProduct.CodeStarParametersProperty.getRepository()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactPath
@Stability(Stable) public CfnCloudFormationProduct.CodeStarParametersProperty.Builder artifactPath(String artifactPath) Sets the value ofCfnCloudFormationProduct.CodeStarParametersProperty.getArtifactPath()
- Parameters:
artifactPath
- The absolute path wehre the artifact resides within the repo and branch, formatted as "folder/file.json.". This parameter is required.- Returns:
this
-
branch
@Stability(Stable) public CfnCloudFormationProduct.CodeStarParametersProperty.Builder branch(String branch) Sets the value ofCfnCloudFormationProduct.CodeStarParametersProperty.getBranch()
- Parameters:
branch
- The specific branch where the artifact resides. This parameter is required.- Returns:
this
-
connectionArn
@Stability(Stable) public CfnCloudFormationProduct.CodeStarParametersProperty.Builder connectionArn(String connectionArn) Sets the value ofCfnCloudFormationProduct.CodeStarParametersProperty.getConnectionArn()
- Parameters:
connectionArn
- The CodeStar ARN, which is the connection between AWS Service Catalog and the external repository. This parameter is required.- Returns:
this
-
repository
@Stability(Stable) public CfnCloudFormationProduct.CodeStarParametersProperty.Builder repository(String repository) Sets the value ofCfnCloudFormationProduct.CodeStarParametersProperty.getRepository()
- Parameters:
repository
- The specific repository where the product’s artifact-to-be-synced resides, formatted as "Account/Repo.". This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCloudFormationProduct.CodeStarParametersProperty>
- Returns:
- a new instance of
CfnCloudFormationProduct.CodeStarParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-