Class Variable.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.Variable.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Variable>
- Enclosing interface:
Variable
@Stability(Stable)
public static final class Variable.Builder
extends Object
implements software.amazon.jsii.Builder<Variable>
A builder for
Variable-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofVariable.getName()Sets the value ofVariable.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofVariable.getName()- Parameters:
name- The name of a pipeline-level variable. This parameter is required.- Returns:
this
-
value
Sets the value ofVariable.getValue()- Parameters:
value- The value of a pipeline-level variable. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Variable>- Returns:
- a new instance of
Variable - Throws:
NullPointerException- if any required attribute was not provided
-