ServiceStatus Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. ServiceStatus
- com.
- com.
public final class ServiceStatus
extends ExpandableStringEnum<ServiceStatus>
Describes the status of a service.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Service |
CREATING
Static value Creating for Service |
static final
Service |
DELETING
Static value Deleting for Service |
static final
Service |
ERROR
Static value Error for Service |
static final
Service |
RUNNING
Static value Running for Service |
static final
Service |
STOPPED
Static value Stopped for Service |
static final
Service |
UPDATING
Static value Updating for Service |
Constructor Summary
Constructor | Description |
---|---|
ServiceStatus() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Service |
fromString(String name)
Creates or finds a Service |
static
Collection<Service |
values()
Gets known Service |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CREATING
public static final ServiceStatus CREATING
Static value Creating for ServiceStatus.
DELETING
public static final ServiceStatus DELETING
Static value Deleting for ServiceStatus.
ERROR
public static final ServiceStatus ERROR
Static value Error for ServiceStatus.
RUNNING
public static final ServiceStatus RUNNING
Static value Running for ServiceStatus.
STOPPED
public static final ServiceStatus STOPPED
Static value Stopped for ServiceStatus.
UPDATING
public static final ServiceStatus UPDATING
Static value Updating for ServiceStatus.
Constructor Details
ServiceStatus
@Deprecated
public ServiceStatus()
Deprecated
Creates a new instance of ServiceStatus value.
Method Details
fromString
public static ServiceStatus fromString(String name)
Creates or finds a ServiceStatus from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ServiceStatus values.
Returns:
Applies to
Azure SDK for Java