Delen via


EntityStatus Class

public final class EntityStatus
extends ExpandableStringEnum<EntityStatus>

Status of a Service Bus resource.

Field Summary

Modifier and Type Field and Description
static final EntityStatus ACTIVE

Static value Active for EntityStatus.

static final EntityStatus CREATING

Static value Creating for EntityStatus.

static final EntityStatus DELETING

Static value Deleting for EntityStatus.

static final EntityStatus DISABLED

Static value Disabled for EntityStatus.

static final EntityStatus RECEIVE_DISABLED

Static value ReceiveDisabled for EntityStatus.

static final EntityStatus RENAMING

Static value Renaming for EntityStatus.

static final EntityStatus RESTORING

Static value Restoring for EntityStatus.

static final EntityStatus SEND_DISABLED

Static value SendDisabled for EntityStatus.

static final EntityStatus UNKNOWN

Static value Unknown for EntityStatus.

Constructor Summary

Constructor Description
EntityStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EntityStatus value.

Method Summary

Modifier and Type Method and Description
static EntityStatus fromString(String name)

Creates or finds a EntityStatus from its string representation.

static Collection<EntityStatus> values()

Gets known EntityStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final EntityStatus ACTIVE

Static value Active for EntityStatus.

CREATING

public static final EntityStatus CREATING

Static value Creating for EntityStatus.

DELETING

public static final EntityStatus DELETING

Static value Deleting for EntityStatus.

DISABLED

public static final EntityStatus DISABLED

Static value Disabled for EntityStatus.

RECEIVE_DISABLED

public static final EntityStatus RECEIVE_DISABLED

Static value ReceiveDisabled for EntityStatus.

RENAMING

public static final EntityStatus RENAMING

Static value Renaming for EntityStatus.

RESTORING

public static final EntityStatus RESTORING

Static value Restoring for EntityStatus.

SEND_DISABLED

public static final EntityStatus SEND_DISABLED

Static value SendDisabled for EntityStatus.

UNKNOWN

public static final EntityStatus UNKNOWN

Static value Unknown for EntityStatus.

Constructor Details

EntityStatus

@Deprecated
public EntityStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EntityStatus value.

Method Details

fromString

public static EntityStatus fromString(String name)

Creates or finds a EntityStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EntityStatus.

values

public static Collection values()

Gets known EntityStatus values.

Returns:

known EntityStatus values.

Applies to