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

com.pulumi.googlenative.compute.v1.enums.InstanceGroupManagerUpdatePolicyReplacementMethod 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.v1.enums;

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

    /**
     * What action should be used to replace instances. See minimal_action.REPLACE
     * 
     */
    @EnumType
    public enum InstanceGroupManagerUpdatePolicyReplacementMethod {
        /**
         * Instances will be recreated (with the same name)
         * 
         */
        Recreate("RECREATE"),
        /**
         * Default option: instances will be deleted and created (with a new name)
         * 
         */
        Substitute("SUBSTITUTE");

        private final String value;

        InstanceGroupManagerUpdatePolicyReplacementMethod(String value) {
            this.value = Objects.requireNonNull(value);
        }

        @EnumType.Converter
        public String getValue() {
            return this.value;
        }

        @Override
        public String toString() {
            return new StringJoiner(", ", "InstanceGroupManagerUpdatePolicyReplacementMethod[", "]")
                .add("value='" + this.value + "'")
                .toString();
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy