Class ElasticBeanstalkDeployActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.ElasticBeanstalkDeployActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElasticBeanstalkDeployActionProps>
- Enclosing interface:
ElasticBeanstalkDeployActionProps
@Stability(Stable)
public static final class ElasticBeanstalkDeployActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<ElasticBeanstalkDeployActionProps>
A builder for
ElasticBeanstalkDeployActionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) Sets the value ofCommonActionProps.getActionName()
applicationName
(String applicationName) Sets the value ofElasticBeanstalkDeployActionProps.getApplicationName()
build()
Builds the configured instance.environmentName
(String environmentName) Sets the value ofElasticBeanstalkDeployActionProps.getEnvironmentName()
Sets the value ofElasticBeanstalkDeployActionProps.getInput()
Sets the value ofCommonAwsActionProps.getRole()
Sets the value ofCommonActionProps.getRunOrder()
variablesNamespace
(String variablesNamespace) Sets the value ofCommonActionProps.getVariablesNamespace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public ElasticBeanstalkDeployActionProps.Builder applicationName(String applicationName) Sets the value ofElasticBeanstalkDeployActionProps.getApplicationName()
- Parameters:
applicationName
- The name of the AWS Elastic Beanstalk application to deploy. This parameter is required.- Returns:
this
-
environmentName
@Stability(Stable) public ElasticBeanstalkDeployActionProps.Builder environmentName(String environmentName) Sets the value ofElasticBeanstalkDeployActionProps.getEnvironmentName()
- Parameters:
environmentName
- The name of the AWS Elastic Beanstalk environment to deploy to. This parameter is required.- Returns:
this
-
input
Sets the value ofElasticBeanstalkDeployActionProps.getInput()
- Parameters:
input
- The source to use as input for deployment. This parameter is required.- 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 yourIAction.bind
method in theActionBindOptions.role
property.- Returns:
this
-
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 ElasticBeanstalkDeployActionProps.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<ElasticBeanstalkDeployActionProps>
- Returns:
- a new instance of
ElasticBeanstalkDeployActionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-