
com.azure.resourcemanager.network.models.ExceptionEntryMatchVariable Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The variable on which we evaluate the exception condition.
*/
public final class ExceptionEntryMatchVariable extends ExpandableStringEnum {
/**
* Static value RequestURI for ExceptionEntryMatchVariable.
*/
public static final ExceptionEntryMatchVariable REQUEST_URI = fromString("RequestURI");
/**
* Static value RemoteAddr for ExceptionEntryMatchVariable.
*/
public static final ExceptionEntryMatchVariable REMOTE_ADDR = fromString("RemoteAddr");
/**
* Static value RequestHeader for ExceptionEntryMatchVariable.
*/
public static final ExceptionEntryMatchVariable REQUEST_HEADER = fromString("RequestHeader");
/**
* Creates a new instance of ExceptionEntryMatchVariable value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ExceptionEntryMatchVariable() {
}
/**
* Creates or finds a ExceptionEntryMatchVariable from its string representation.
*
* @param name a name to look for.
* @return the corresponding ExceptionEntryMatchVariable.
*/
public static ExceptionEntryMatchVariable fromString(String name) {
return fromString(name, ExceptionEntryMatchVariable.class);
}
/**
* Gets known ExceptionEntryMatchVariable values.
*
* @return known ExceptionEntryMatchVariable values.
*/
public static Collection values() {
return values(ExceptionEntryMatchVariable.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy