Status Class

public final class Status
extends ExpandableStringEnum<Status>

Specifies the protection status of the resource.

Field Summary

Modifier and Type Field and Description
static final Status CONFIGURING_PROTECTION

Static value ConfiguringProtection for Status.

static final Status CONFIGURING_PROTECTION_FAILED

Static value ConfiguringProtectionFailed for Status.

static final Status PROTECTION_CONFIGURED

Static value ProtectionConfigured for Status.

static final Status PROTECTION_STOPPED

Static value ProtectionStopped for Status.

static final Status SOFT_DELETED

Static value SoftDeleted for Status.

static final Status SOFT_DELETING

Static value SoftDeleting for Status.

Constructor Summary

Constructor Description
Status()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Status value.

Method Summary

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

Creates or finds a Status from its string representation.

static Collection<Status> values()

Gets known Status values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONFIGURING_PROTECTION

public static final Status CONFIGURING_PROTECTION

Static value ConfiguringProtection for Status.

CONFIGURING_PROTECTION_FAILED

public static final Status CONFIGURING_PROTECTION_FAILED

Static value ConfiguringProtectionFailed for Status.

PROTECTION_CONFIGURED

public static final Status PROTECTION_CONFIGURED

Static value ProtectionConfigured for Status.

PROTECTION_STOPPED

public static final Status PROTECTION_STOPPED

Static value ProtectionStopped for Status.

SOFT_DELETED

public static final Status SOFT_DELETED

Static value SoftDeleted for Status.

SOFT_DELETING

public static final Status SOFT_DELETING

Static value SoftDeleting for Status.

Constructor Details

Status

@Deprecated
public Status()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Status value.

Method Details

fromString

public static Status fromString(String name)

Creates or finds a Status from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Status.

values

public static Collection<Status> values()

Gets known Status values.

Returns:

known Status values.

Applies to