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

com.pulumi.googlenative.clouddeploy.v1.outputs.DeploymentJobsResponse 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.clouddeploy.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.clouddeploy.v1.outputs.JobResponse;
import java.util.Objects;

@CustomType
public final class DeploymentJobsResponse {
    /**
     * @return The deploy Job. This is the deploy job in the phase.
     * 
     */
    private JobResponse deployJob;
    /**
     * @return The verify Job. Runs after a deploy if the deploy succeeds.
     * 
     */
    private JobResponse verifyJob;

    private DeploymentJobsResponse() {}
    /**
     * @return The deploy Job. This is the deploy job in the phase.
     * 
     */
    public JobResponse deployJob() {
        return this.deployJob;
    }
    /**
     * @return The verify Job. Runs after a deploy if the deploy succeeds.
     * 
     */
    public JobResponse verifyJob() {
        return this.verifyJob;
    }

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

    public static Builder builder(DeploymentJobsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private JobResponse deployJob;
        private JobResponse verifyJob;
        public Builder() {}
        public Builder(DeploymentJobsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.deployJob = defaults.deployJob;
    	      this.verifyJob = defaults.verifyJob;
        }

        @CustomType.Setter
        public Builder deployJob(JobResponse deployJob) {
            this.deployJob = Objects.requireNonNull(deployJob);
            return this;
        }
        @CustomType.Setter
        public Builder verifyJob(JobResponse verifyJob) {
            this.verifyJob = Objects.requireNonNull(verifyJob);
            return this;
        }
        public DeploymentJobsResponse build() {
            final var o = new DeploymentJobsResponse();
            o.deployJob = deployJob;
            o.verifyJob = verifyJob;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy