UnavailableReason Class

  • java.lang.Object
    • com.microsoft.azure.management.servicebus.UnavailableReason

public class UnavailableReason

Defines values for UnavailableReason.

Field Summary

Modifier and Type Field and Description
final UnavailableReason INVALID_NAME

Static value InvalidName for UnavailableReason.

final UnavailableReason NAME_IN_LOCKDOWN

Static value NameInLockdown for UnavailableReason.

final UnavailableReason NAME_IN_USE

Static value NameInUse for UnavailableReason.

final UnavailableReason NONE

Static value None for UnavailableReason.

final UnavailableReason SUBSCRIPTION_IS_DISABLED

Static value SubscriptionIsDisabled for UnavailableReason.

final UnavailableReason TOO_MANY_NAMESPACE_IN_CURRENT_SUBSCRIPTION

Static value TooManyNamespaceInCurrentSubscription for UnavailableReason.

Constructor Summary

Constructor Description
UnavailableReason(String value)

Creates a custom value for UnavailableReason.

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
int hashCode()
String toString()

Field Details

INVALID_NAME

public static final UnavailableReason INVALID_NAME= new UnavailableReason("InvalidName")

Static value InvalidName for UnavailableReason.

NAME_IN_LOCKDOWN

public static final UnavailableReason NAME_IN_LOCKDOWN= new UnavailableReason("NameInLockdown")

Static value NameInLockdown for UnavailableReason.

NAME_IN_USE

public static final UnavailableReason NAME_IN_USE= new UnavailableReason("NameInUse")

Static value NameInUse for UnavailableReason.

NONE

public static final UnavailableReason NONE= new UnavailableReason("None")

Static value None for UnavailableReason.

SUBSCRIPTION_IS_DISABLED

public static final UnavailableReason SUBSCRIPTION_IS_DISABLED= new UnavailableReason("SubscriptionIsDisabled")

Static value SubscriptionIsDisabled for UnavailableReason.

TOO_MANY_NAMESPACE_IN_CURRENT_SUBSCRIPTION

public static final UnavailableReason TOO_MANY_NAMESPACE_IN_CURRENT_SUBSCRIPTION= new UnavailableReason("TooManyNamespaceInCurrentSubscription")

Static value TooManyNamespaceInCurrentSubscription for UnavailableReason.

Constructor Details

UnavailableReason

public UnavailableReason(String value)

Creates a custom value for UnavailableReason.

Parameters:

value - the custom value

Method Details

equals

public boolean equals(Object obj)

Parameters:

obj

hashCode

public int hashCode()

toString

public String toString()

Applies to