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

com.pulumi.azurenative.apicenter.enums.ApiKind 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.azurenative.apicenter.enums;

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

    /**
     * Kind of API. For example, REST or GraphQL.
     * 
     */
    @EnumType
    public enum ApiKind {
        /**
         * A Representational State Transfer Api
         * 
         */
        Rest("rest"),
        /**
         * A Graph query language Api
         * 
         */
        Graphql("graphql"),
        /**
         * A gRPC Api
         * 
         */
        Grpc("grpc"),
        /**
         * A SOAP Api
         * 
         */
        Soap("soap"),
        /**
         * Web Hook
         * 
         */
        Webhook("webhook"),
        /**
         * Web Socket
         * 
         */
        Websocket("websocket");

        private final String value;

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy