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.keyvault; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for NetworkRuleAction.
/** * Defines values for NetworkRuleAction. */
public final class NetworkRuleAction extends ExpandableStringEnum<NetworkRuleAction> {
Static value Allow for NetworkRuleAction.
/** Static value Allow for NetworkRuleAction. */
public static final NetworkRuleAction ALLOW = fromString("Allow");
Static value Deny for NetworkRuleAction.
/** Static value Deny for NetworkRuleAction. */
public static final NetworkRuleAction DENY = fromString("Deny");
Creates or finds a NetworkRuleAction from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding NetworkRuleAction
/** * Creates or finds a NetworkRuleAction from its string representation. * @param name a name to look for * @return the corresponding NetworkRuleAction */
@JsonCreator public static NetworkRuleAction fromString(String name) { return fromString(name, NetworkRuleAction.class); }
Returns:known NetworkRuleAction values
/** * @return known NetworkRuleAction values */
public static Collection<NetworkRuleAction> values() { return values(NetworkRuleAction.class); } }