Class PipelineStageArgs.Builder

  • Enclosing class:
    PipelineStageArgs

    public static final class PipelineStageArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • actions

        public PipelineStageArgs.Builder actions​(com.pulumi.core.Output<java.util.List<PipelineStageActionArgs>> actions)
        Parameters:
        actions - The action(s) to include in the stage. Defined as an `action` block below
        Returns:
        builder
      • beforeEntry

        public PipelineStageArgs.Builder beforeEntry​(@Nullable
                                                     com.pulumi.core.Output<PipelineStageBeforeEntryArgs> beforeEntry)
        Parameters:
        beforeEntry - The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
        Returns:
        builder
      • beforeEntry

        public PipelineStageArgs.Builder beforeEntry​(PipelineStageBeforeEntryArgs beforeEntry)
        Parameters:
        beforeEntry - The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
        Returns:
        builder
      • name

        public PipelineStageArgs.Builder name​(com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the stage.
        Returns:
        builder
      • name

        public PipelineStageArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the stage.
        Returns:
        builder
      • onFailure

        public PipelineStageArgs.Builder onFailure​(@Nullable
                                                   com.pulumi.core.Output<PipelineStageOnFailureArgs> onFailure)
        Parameters:
        onFailure - The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
        Returns:
        builder
      • onFailure

        public PipelineStageArgs.Builder onFailure​(PipelineStageOnFailureArgs onFailure)
        Parameters:
        onFailure - The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
        Returns:
        builder
      • onSuccess

        public PipelineStageArgs.Builder onSuccess​(@Nullable
                                                   com.pulumi.core.Output<PipelineStageOnSuccessArgs> onSuccess)
        Parameters:
        onSuccess - The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.
        Returns:
        builder
      • onSuccess

        public PipelineStageArgs.Builder onSuccess​(PipelineStageOnSuccessArgs onSuccess)
        Parameters:
        onSuccess - The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.
        Returns:
        builder