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

com.pulumi.googlenative.appengine.v1beta.enums.VersionServingStatus 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.appengine.v1beta.enums;

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

    /**
     * Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.
     * 
     */
    @EnumType
    public enum VersionServingStatus {
        /**
         * Not specified.
         * 
         */
        ServingStatusUnspecified("SERVING_STATUS_UNSPECIFIED"),
        /**
         * Currently serving. Instances are created according to the scaling settings of the version.
         * 
         */
        Serving("SERVING"),
        /**
         * Disabled. No instances will be created and the scaling settings are ignored until the state of the version changes to SERVING.
         * 
         */
        Stopped("STOPPED");

        private final String value;

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy