Partager via


ShareTokenIntent Class

public final class ShareTokenIntent
extends ExpandableStringEnum<ShareTokenIntent>

The request intent specifies requests that are intended for backup/admin type operations, meaning that all file/directory ACLs are bypassed and full permissions are granted. User must also have required RBAC permission.

Field Summary

Modifier and Type Field and Description
static final ShareTokenIntent BACKUP

Static value backup for ShareTokenIntent.

Constructor Summary

Constructor Description
ShareTokenIntent()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ShareTokenIntent value.

Method Summary

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

Creates or finds a ShareTokenIntent from its string representation.

static Collection<ShareTokenIntent> values()

Gets known ShareTokenIntent values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BACKUP

public static final ShareTokenIntent BACKUP

Static value backup for ShareTokenIntent.

Constructor Details

ShareTokenIntent

@Deprecated
public ShareTokenIntent()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ShareTokenIntent value.

Method Details

fromString

public static ShareTokenIntent fromString(String name)

Creates or finds a ShareTokenIntent from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ShareTokenIntent.

values

public static Collection values()

Gets known ShareTokenIntent values.

Returns:

known ShareTokenIntent values.

Applies to