UploadStatus Class

public final class UploadStatus
extends ExpandableStringEnum<UploadStatus>

Defines values for UploadStatus.

Field Summary

Modifier and Type Field and Description
static final UploadStatus CANCELLED

Static value cancelled for UploadStatus.

static final UploadStatus COMPLETED

Static value completed for UploadStatus.

static final UploadStatus EXPIRED

Static value expired for UploadStatus.

static final UploadStatus PENDING

Static value pending for UploadStatus.

Constructor Summary

Constructor Description
UploadStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UploadStatus value.

Method Summary

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

Creates or finds a UploadStatus from its string representation.

static Collection<UploadStatus> values()

Gets known UploadStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CANCELLED

public static final UploadStatus CANCELLED

Static value cancelled for UploadStatus.

COMPLETED

public static final UploadStatus COMPLETED

Static value completed for UploadStatus.

EXPIRED

public static final UploadStatus EXPIRED

Static value expired for UploadStatus.

PENDING

public static final UploadStatus PENDING

Static value pending for UploadStatus.

Constructor Details

UploadStatus

@Deprecated
public UploadStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UploadStatus value.

Method Details

fromString

public static UploadStatus fromString(String name)

Creates or finds a UploadStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UploadStatus.

values

public static Collection values()

Gets known UploadStatus values.

Returns:

known UploadStatus values.

Applies to