Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.cdn; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for WafRuleType.
/** * Defines values for WafRuleType. */
public final class WafRuleType extends ExpandableStringEnum<WafRuleType> {
Static value managed for WafRuleType.
/** Static value managed for WafRuleType. */
public static final WafRuleType MANAGED = fromString("managed");
Static value custom for WafRuleType.
/** Static value custom for WafRuleType. */
public static final WafRuleType CUSTOM = fromString("custom");
Static value bot for WafRuleType.
/** Static value bot for WafRuleType. */
public static final WafRuleType BOT = fromString("bot");
Creates or finds a WafRuleType from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding WafRuleType
/** * Creates or finds a WafRuleType from its string representation. * @param name a name to look for * @return the corresponding WafRuleType */
@JsonCreator public static WafRuleType fromString(String name) { return fromString(name, WafRuleType.class); }
Returns:known WafRuleType values
/** * @return known WafRuleType values */
public static Collection<WafRuleType> values() { return values(WafRuleType.class); } }