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 Details

    • Builder

      public Builder()
  • Method Details

    • name

      @Stability(Stable) public Variable.Builder name(String name)
      Sets the value of Variable.getName()
      Parameters:
      name - The name of a pipeline-level variable. This parameter is required.
      Returns:
      this
    • value

      @Stability(Stable) public Variable.Builder value(String value)
      Sets the value of Variable.getValue()
      Parameters:
      value - The value of a pipeline-level variable. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public Variable build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<Variable>
      Returns:
      a new instance of Variable
      Throws:
      NullPointerException - if any required attribute was not provided