CopyCompletionErrorReason Class

public final class CopyCompletionErrorReason
extends ExpandableStringEnum<CopyCompletionErrorReason>

Indicates the error code if the background copy of a resource created via the CopyStart operation fails.

Field Summary

Modifier and Type Field and Description
static final CopyCompletionErrorReason COPY_SOURCE_NOT_FOUND

Indicates that the source snapshot was deleted while the background copy of the resource created via CopyStart operation was in progress.

Constructor Summary

Constructor Description
CopyCompletionErrorReason()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CopyCompletionErrorReason value.

Method Summary

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

Creates or finds a CopyCompletionErrorReason from its string representation.

static Collection<CopyCompletionErrorReason> values()

Gets known CopyCompletionErrorReason values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COPY_SOURCE_NOT_FOUND

public static final CopyCompletionErrorReason COPY_SOURCE_NOT_FOUND

Indicates that the source snapshot was deleted while the background copy of the resource created via CopyStart operation was in progress.

Constructor Details

CopyCompletionErrorReason

@Deprecated
public CopyCompletionErrorReason()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CopyCompletionErrorReason value.

Method Details

fromString

public static CopyCompletionErrorReason fromString(String name)

Creates or finds a CopyCompletionErrorReason from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CopyCompletionErrorReason.

values

public static Collection<CopyCompletionErrorReason> values()

Gets known CopyCompletionErrorReason values.

Returns:

known CopyCompletionErrorReason values.

Applies to