Class Need.Builder

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

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

      • Builder

        public Builder()
    • Method Detail

      • job

        @Stability(Experimental)
        public Need.Builder job​(String job)
        Sets the value of Need.getJob()
        Parameters:
        job - the value to be set. This parameter is required.
        Returns:
        this
      • pipeline

        @Stability(Experimental)
        public Need.Builder pipeline​(String pipeline)
        Sets the value of Need.getPipeline()
        Parameters:
        pipeline - the value to be set.
        Returns:
        this
      • project

        @Stability(Experimental)
        public Need.Builder project​(String project)
        Sets the value of Need.getProject()
        Parameters:
        project - the value to be set.
        Returns:
        this
      • ref

        @Stability(Experimental)
        public Need.Builder ref​(String ref)
        Sets the value of Need.getRef()
        Parameters:
        ref - the value to be set.
        Returns:
        this
      • build

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