ServiceStatus Class

public final class ServiceStatus
extends ExpandableStringEnum<ServiceStatus>

Describes the status of a service.

Field Summary

Modifier and Type Field and Description
static final ServiceStatus CREATING

Static value Creating for ServiceStatus.

static final ServiceStatus DELETING

Static value Deleting for ServiceStatus.

static final ServiceStatus ERROR

Static value Error for ServiceStatus.

static final ServiceStatus RUNNING

Static value Running for ServiceStatus.

static final ServiceStatus STOPPED

Static value Stopped for ServiceStatus.

static final ServiceStatus UPDATING

Static value Updating for ServiceStatus.

Constructor Summary

Constructor Description
ServiceStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceStatus value.

Method Summary

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

Creates or finds a ServiceStatus from its string representation.

static Collection<ServiceStatus> values()

Gets known ServiceStatus values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding ServiceStatus.

values

public static Collection values()

Gets known ServiceStatus values.

Returns:

known ServiceStatus values.

Applies to