All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.workflowexecutions.v1.outputs.StatusResponse Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.googlenative.workflowexecutions.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.workflowexecutions.v1.outputs.StepResponse;
import java.util.List;
import java.util.Objects;

@CustomType
public final class StatusResponse {
    /**
     * @return A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step.
     * 
     */
    private List currentSteps;

    private StatusResponse() {}
    /**
     * @return A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step.
     * 
     */
    public List currentSteps() {
        return this.currentSteps;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(StatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List currentSteps;
        public Builder() {}
        public Builder(StatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.currentSteps = defaults.currentSteps;
        }

        @CustomType.Setter
        public Builder currentSteps(List currentSteps) {
            this.currentSteps = Objects.requireNonNull(currentSteps);
            return this;
        }
        public Builder currentSteps(StepResponse... currentSteps) {
            return currentSteps(List.of(currentSteps));
        }
        public StatusResponse build() {
            final var o = new StatusResponse();
            o.currentSteps = currentSteps;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy