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

com.pulumi.googlenative.apigee.v1.enums.TargetServerProtocol 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.apigee.v1.enums;

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

    /**
     * Immutable. The protocol used by this TargetServer.
     * 
     */
    @EnumType
    public enum TargetServerProtocol {
        /**
         * UNSPECIFIED defaults to HTTP for backwards compatibility.
         * 
         */
        ProtocolUnspecified("PROTOCOL_UNSPECIFIED"),
        /**
         * The TargetServer uses HTTP.
         * 
         */
        Http("HTTP"),
        /**
         * GRPC TargetServer to be used in ExternalCallout Policy. Prefer to use EXTERNAL_CALLOUT instead. TODO(b/266125112) deprecate once EXTERNAL _CALLOUT generally available.
         * 
         */
        Grpc("GRPC");

        private final String value;

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy