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

com.pulumi.googlenative.container.v1beta1.outputs.BlueGreenSettingsResponse 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.container.v1beta1.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.container.v1beta1.outputs.StandardRolloutPolicyResponse;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class BlueGreenSettingsResponse {
    /**
     * @return Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
     * 
     */
    private String nodePoolSoakDuration;
    /**
     * @return Standard policy for the blue-green upgrade.
     * 
     */
    private StandardRolloutPolicyResponse standardRolloutPolicy;

    private BlueGreenSettingsResponse() {}
    /**
     * @return Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
     * 
     */
    public String nodePoolSoakDuration() {
        return this.nodePoolSoakDuration;
    }
    /**
     * @return Standard policy for the blue-green upgrade.
     * 
     */
    public StandardRolloutPolicyResponse standardRolloutPolicy() {
        return this.standardRolloutPolicy;
    }

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

    public static Builder builder(BlueGreenSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String nodePoolSoakDuration;
        private StandardRolloutPolicyResponse standardRolloutPolicy;
        public Builder() {}
        public Builder(BlueGreenSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.nodePoolSoakDuration = defaults.nodePoolSoakDuration;
    	      this.standardRolloutPolicy = defaults.standardRolloutPolicy;
        }

        @CustomType.Setter
        public Builder nodePoolSoakDuration(String nodePoolSoakDuration) {
            this.nodePoolSoakDuration = Objects.requireNonNull(nodePoolSoakDuration);
            return this;
        }
        @CustomType.Setter
        public Builder standardRolloutPolicy(StandardRolloutPolicyResponse standardRolloutPolicy) {
            this.standardRolloutPolicy = Objects.requireNonNull(standardRolloutPolicy);
            return this;
        }
        public BlueGreenSettingsResponse build() {
            final var o = new BlueGreenSettingsResponse();
            o.nodePoolSoakDuration = nodePoolSoakDuration;
            o.standardRolloutPolicy = standardRolloutPolicy;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy