Class Matrix.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.circleci.Matrix.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Matrix.Builderalias(String alias)Sets the value ofMatrix.getAlias()Matrixbuild()Builds the configured instance.Matrix.Builderparameters(Map<String,? extends Object> parameters)Sets the value ofMatrix.getParameters()
-
-
-
Method Detail
-
alias
@Stability(Experimental) public Matrix.Builder alias(String alias)
Sets the value ofMatrix.getAlias()- Parameters:
alias- An alias for the matrix, usable from another job’s requires stanza. Defaults to the name of the job being executed- Returns:
this
-
parameters
@Stability(Experimental) public Matrix.Builder parameters(Map<String,? extends Object> parameters)
Sets the value ofMatrix.getParameters()- Parameters:
parameters- A map of parameter names to every value the job should be called with.- Returns:
this
-
build
@Stability(Experimental) public Matrix build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Matrix>- Returns:
- a new instance of
Matrix - Throws:
NullPointerException- if any required attribute was not provided
-
-