Class Matrix.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<Matrix>
    Enclosing interface:
    Matrix

    @Stability(Experimental)
    public static final class Matrix.Builder
    extends Object
    implements software.amazon.jsii.Builder<Matrix>
    A builder for Matrix
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • alias

        @Stability(Experimental)
        public Matrix.Builder alias​(String alias)
        Sets the value of Matrix.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 of Matrix.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:
        build in interface software.amazon.jsii.Builder<Matrix>
        Returns:
        a new instance of Matrix
        Throws:
        NullPointerException - if any required attribute was not provided