ContentStoragePolicy Class

public final class ContentStoragePolicy
extends ExpandableStringEnum<ContentStoragePolicy>

Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this requires the user to also specify jobStorageAccount property. .

Field Summary

Modifier and Type Field and Description
static final ContentStoragePolicy JOB_STORAGE_ACCOUNT

Static value JobStorageAccount for ContentStoragePolicy.

static final ContentStoragePolicy SYSTEM_ACCOUNT

Static value SystemAccount for ContentStoragePolicy.

Constructor Summary

Constructor Description
ContentStoragePolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ContentStoragePolicy value.

Method Summary

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

Creates or finds a ContentStoragePolicy from its string representation.

static Collection<ContentStoragePolicy> values()

Gets known ContentStoragePolicy values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

JOB_STORAGE_ACCOUNT

public static final ContentStoragePolicy JOB_STORAGE_ACCOUNT

Static value JobStorageAccount for ContentStoragePolicy.

SYSTEM_ACCOUNT

public static final ContentStoragePolicy SYSTEM_ACCOUNT

Static value SystemAccount for ContentStoragePolicy.

Constructor Details

ContentStoragePolicy

@Deprecated
public ContentStoragePolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ContentStoragePolicy value.

Method Details

fromString

public static ContentStoragePolicy fromString(String name)

Creates or finds a ContentStoragePolicy from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ContentStoragePolicy.

values

public static Collection values()

Gets known ContentStoragePolicy values.

Returns:

known ContentStoragePolicy values.

Applies to