UnavailableReason Class

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

public final class UnavailableReason

Defines values for UnavailableReason.

Field Summary

Modifier and Type Field and Description
static final UnavailableReason INVALID_NAME

Static value InvalidName for UnavailableReason.

static final UnavailableReason NAME_IN_LOCKDOWN

Static value NameInLockdown for UnavailableReason.

static final UnavailableReason NAME_IN_USE

Static value NameInUse for UnavailableReason.

static final UnavailableReason NONE

Static value None for UnavailableReason.

static final UnavailableReason SUBSCRIPTION_IS_DISABLED

Static value SubscriptionIsDisabled for UnavailableReason.

static 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()
java.lang.String toString()

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

INVALID_NAME

public static final UnavailableReason INVALID_NAME

Static value InvalidName for UnavailableReason.

NAME_IN_LOCKDOWN

public static final UnavailableReason NAME_IN_LOCKDOWN

Static value NameInLockdown for UnavailableReason.

NAME_IN_USE

public static final UnavailableReason NAME_IN_USE

Static value NameInUse for UnavailableReason.

NONE

public static final UnavailableReason NONE

Static value None for UnavailableReason.

SUBSCRIPTION_IS_DISABLED

public static final UnavailableReason SUBSCRIPTION_IS_DISABLED

Static value SubscriptionIsDisabled for UnavailableReason.

TOO_MANY_NAMESPACE_IN_CURRENT_SUBSCRIPTION

public static final UnavailableReason TOO_MANY_NAMESPACE_IN_CURRENT_SUBSCRIPTION

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)

Overrides:

UnavailableReason.equals(Object obj)

Parameters:

obj

hashCode

public int hashCode()

Overrides:

UnavailableReason.hashCode()

toString

public String toString()

Overrides:

UnavailableReason.toString()

Applies to