Class ServiceCatalogDeployActionBeta1Props.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.ServiceCatalogDeployActionBeta1Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceCatalogDeployActionBeta1Props>
- Enclosing interface:
ServiceCatalogDeployActionBeta1Props
@Stability(Stable)
public static final class ServiceCatalogDeployActionBeta1Props.Builder
extends Object
implements software.amazon.jsii.Builder<ServiceCatalogDeployActionBeta1Props>
A builder for
ServiceCatalogDeployActionBeta1Props
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) Sets the value ofCommonActionProps.getActionName()
build()
Builds the configured instance.Sets the value ofServiceCatalogDeployActionBeta1Props.getProductId()
productVersionDescription
(String productVersionDescription) Sets the value ofServiceCatalogDeployActionBeta1Props.getProductVersionDescription()
productVersionName
(String productVersionName) Sets the value ofServiceCatalogDeployActionBeta1Props.getProductVersionName()
Sets the value ofCommonAwsActionProps.getRole()
Sets the value ofCommonActionProps.getRunOrder()
templatePath
(ArtifactPath templatePath) Sets the value ofServiceCatalogDeployActionBeta1Props.getTemplatePath()
variablesNamespace
(String variablesNamespace) Sets the value ofCommonActionProps.getVariablesNamespace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
productId
Sets the value ofServiceCatalogDeployActionBeta1Props.getProductId()
- Parameters:
productId
- The identifier of the product in the Service Catalog. This parameter is required. This product must already exist.- Returns:
this
-
productVersionName
@Stability(Stable) public ServiceCatalogDeployActionBeta1Props.Builder productVersionName(String productVersionName) Sets the value ofServiceCatalogDeployActionBeta1Props.getProductVersionName()
- Parameters:
productVersionName
- The name of the version of the Service Catalog product to be deployed. This parameter is required.- Returns:
this
-
templatePath
@Stability(Stable) public ServiceCatalogDeployActionBeta1Props.Builder templatePath(ArtifactPath templatePath) Sets the value ofServiceCatalogDeployActionBeta1Props.getTemplatePath()
- Parameters:
templatePath
- The path to the cloudformation artifact. This parameter is required.- Returns:
this
-
productVersionDescription
@Stability(Stable) public ServiceCatalogDeployActionBeta1Props.Builder productVersionDescription(String productVersionDescription) Sets the value ofServiceCatalogDeployActionBeta1Props.getProductVersionDescription()
- Parameters:
productVersionDescription
- The optional description of this version of the Service Catalog product.- Returns:
this
-
role
Sets the value ofCommonAwsActionProps.getRole()
- Parameters:
role
- The Role in which context's this Action will be executing in. The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into yourinvalid @link
IAction.bind
invalid @link
ActionBindOptions.role
- Returns:
this
-
actionName
@Stability(Stable) public ServiceCatalogDeployActionBeta1Props.Builder actionName(String actionName) Sets the value ofCommonActionProps.getActionName()
- Parameters:
actionName
- The physical, human-readable name of the Action. This parameter is required. Note that Action names must be unique within a single Stage.- Returns:
this
-
runOrder
Sets the value ofCommonActionProps.getRunOrder()
- Parameters:
runOrder
- The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute.- Returns:
this
-
variablesNamespace
@Stability(Stable) public ServiceCatalogDeployActionBeta1Props.Builder variablesNamespace(String variablesNamespace) Sets the value ofCommonActionProps.getVariablesNamespace()
- Parameters:
variablesNamespace
- The name of the namespace to use for variables emitted by this action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ServiceCatalogDeployActionBeta1Props>
- Returns:
- a new instance of
ServiceCatalogDeployActionBeta1Props
- Throws:
NullPointerException
- if any required attribute was not provided
-