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

com.pulumi.googlenative.compute.beta.outputs.InstanceGroupManagerInstanceLifecyclePolicyResponse 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.compute.beta.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class InstanceGroupManagerInstanceLifecyclePolicyResponse {
    /**
     * @return A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
     * 
     */
    private String forceUpdateOnRepair;

    private InstanceGroupManagerInstanceLifecyclePolicyResponse() {}
    /**
     * @return A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
     * 
     */
    public String forceUpdateOnRepair() {
        return this.forceUpdateOnRepair;
    }

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

    public static Builder builder(InstanceGroupManagerInstanceLifecyclePolicyResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String forceUpdateOnRepair;
        public Builder() {}
        public Builder(InstanceGroupManagerInstanceLifecyclePolicyResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.forceUpdateOnRepair = defaults.forceUpdateOnRepair;
        }

        @CustomType.Setter
        public Builder forceUpdateOnRepair(String forceUpdateOnRepair) {
            this.forceUpdateOnRepair = Objects.requireNonNull(forceUpdateOnRepair);
            return this;
        }
        public InstanceGroupManagerInstanceLifecyclePolicyResponse build() {
            final var o = new InstanceGroupManagerInstanceLifecyclePolicyResponse();
            o.forceUpdateOnRepair = forceUpdateOnRepair;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy