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

com.pulumi.azurenative.apimanagement.enums.PolicyContentFormat Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.apimanagement.enums;

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

    /**
     * Format of the policyContent.
     * 
     */
    @EnumType
    public enum PolicyContentFormat {
        /**
         * The contents are inline and Content type is an XML document.
         * 
         */
        Xml("xml"),
        /**
         * The policy XML document is hosted on a HTTP endpoint accessible from the API Management service.
         * 
         */
        Xmllink("xml-link"),
        /**
         * The contents are inline and Content type is a non XML encoded policy document.
         * 
         */
        Rawxml("rawxml"),
        /**
         * The policy document is not XML encoded and is hosted on a HTTP endpoint accessible from the API Management service.
         * 
         */
        Rawxmllink("rawxml-link");

        private final String value;

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy