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

com.pulumi.googlenative.containeranalysis.v1beta1.enums.VersionKind 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.containeranalysis.v1beta1.enums;

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

    /**
     * Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
     * 
     */
    @EnumType
    public enum VersionKind {
        /**
         * Unknown.
         * 
         */
        VersionKindUnspecified("VERSION_KIND_UNSPECIFIED"),
        /**
         * A standard package version.
         * 
         */
        Normal("NORMAL"),
        /**
         * A special version representing negative infinity.
         * 
         */
        Minimum("MINIMUM"),
        /**
         * A special version representing positive infinity.
         * 
         */
        Maximum("MAXIMUM");

        private final String value;

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy