com.azure.resourcemanager.servicebus.models.PublicNetworkAccessFlag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-servicebus Show documentation
Show all versions of azure-resourcemanager-servicebus Show documentation
This package contains Microsoft Azure ServiceBus Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.servicebus.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* This determines if traffic is allowed over public network. By default it is enabled.
*/
public final class PublicNetworkAccessFlag extends ExpandableStringEnum {
/**
* Static value Enabled for PublicNetworkAccessFlag.
*/
public static final PublicNetworkAccessFlag ENABLED = fromString("Enabled");
/**
* Static value Disabled for PublicNetworkAccessFlag.
*/
public static final PublicNetworkAccessFlag DISABLED = fromString("Disabled");
/**
* Creates a new instance of PublicNetworkAccessFlag value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public PublicNetworkAccessFlag() {
}
/**
* Creates or finds a PublicNetworkAccessFlag from its string representation.
*
* @param name a name to look for.
* @return the corresponding PublicNetworkAccessFlag.
*/
public static PublicNetworkAccessFlag fromString(String name) {
return fromString(name, PublicNetworkAccessFlag.class);
}
/**
* Gets known PublicNetworkAccessFlag values.
*
* @return known PublicNetworkAccessFlag values.
*/
public static Collection values() {
return values(PublicNetworkAccessFlag.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy