CurrentProtectionState Class

public final class CurrentProtectionState
extends ExpandableStringEnum<CurrentProtectionState>

Specifies the current protection state of the resource.

Field Summary

Modifier and Type Field and Description
static final CurrentProtectionState BACKUP_SCHEDULES_SUSPENDED

Static value BackupSchedulesSuspended for CurrentProtectionState.

static final CurrentProtectionState CONFIGURING_PROTECTION

Static value ConfiguringProtection for CurrentProtectionState.

static final CurrentProtectionState CONFIGURING_PROTECTION_FAILED

Static value ConfiguringProtectionFailed for CurrentProtectionState.

static final CurrentProtectionState INVALID

Static value Invalid for CurrentProtectionState.

static final CurrentProtectionState NOT_PROTECTED

Static value NotProtected for CurrentProtectionState.

static final CurrentProtectionState PROTECTION_CONFIGURED

Static value ProtectionConfigured for CurrentProtectionState.

static final CurrentProtectionState PROTECTION_ERROR

Static value ProtectionError for CurrentProtectionState.

static final CurrentProtectionState PROTECTION_STOPPED

Static value ProtectionStopped for CurrentProtectionState.

static final CurrentProtectionState RETENTION_SCHEDULES_SUSPENDED

Static value RetentionSchedulesSuspended for CurrentProtectionState.

static final CurrentProtectionState SOFT_DELETED

Static value SoftDeleted for CurrentProtectionState.

static final CurrentProtectionState SOFT_DELETING

Static value SoftDeleting for CurrentProtectionState.

static final CurrentProtectionState UPDATING_PROTECTION

Static value UpdatingProtection for CurrentProtectionState.

Constructor Summary

Constructor Description
CurrentProtectionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CurrentProtectionState value.

Method Summary

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

Creates or finds a CurrentProtectionState from its string representation.

static Collection<CurrentProtectionState> values()

Gets known CurrentProtectionState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BACKUP_SCHEDULES_SUSPENDED

public static final CurrentProtectionState BACKUP_SCHEDULES_SUSPENDED

Static value BackupSchedulesSuspended for CurrentProtectionState.

CONFIGURING_PROTECTION

public static final CurrentProtectionState CONFIGURING_PROTECTION

Static value ConfiguringProtection for CurrentProtectionState.

CONFIGURING_PROTECTION_FAILED

public static final CurrentProtectionState CONFIGURING_PROTECTION_FAILED

Static value ConfiguringProtectionFailed for CurrentProtectionState.

INVALID

public static final CurrentProtectionState INVALID

Static value Invalid for CurrentProtectionState.

NOT_PROTECTED

public static final CurrentProtectionState NOT_PROTECTED

Static value NotProtected for CurrentProtectionState.

PROTECTION_CONFIGURED

public static final CurrentProtectionState PROTECTION_CONFIGURED

Static value ProtectionConfigured for CurrentProtectionState.

PROTECTION_ERROR

public static final CurrentProtectionState PROTECTION_ERROR

Static value ProtectionError for CurrentProtectionState.

PROTECTION_STOPPED

public static final CurrentProtectionState PROTECTION_STOPPED

Static value ProtectionStopped for CurrentProtectionState.

RETENTION_SCHEDULES_SUSPENDED

public static final CurrentProtectionState RETENTION_SCHEDULES_SUSPENDED

Static value RetentionSchedulesSuspended for CurrentProtectionState.

SOFT_DELETED

public static final CurrentProtectionState SOFT_DELETED

Static value SoftDeleted for CurrentProtectionState.

SOFT_DELETING

public static final CurrentProtectionState SOFT_DELETING

Static value SoftDeleting for CurrentProtectionState.

UPDATING_PROTECTION

public static final CurrentProtectionState UPDATING_PROTECTION

Static value UpdatingProtection for CurrentProtectionState.

Constructor Details

CurrentProtectionState

@Deprecated
public CurrentProtectionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CurrentProtectionState value.

Method Details

fromString

public static CurrentProtectionState fromString(String name)

Creates or finds a CurrentProtectionState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CurrentProtectionState.

values

public static Collection<CurrentProtectionState> values()

Gets known CurrentProtectionState values.

Returns:

known CurrentProtectionState values.

Applies to