SecretPermissions Class

public final class SecretPermissions
extends ExpandableStringEnum<SecretPermissions>

Defines values for SecretPermissions.

Field Summary

Modifier and Type Field and Description
static final SecretPermissions ALL

Static value all for SecretPermissions.

static final SecretPermissions BACKUP

Static value backup for SecretPermissions.

static final SecretPermissions DELETE

Static value delete for SecretPermissions.

static final SecretPermissions GET

Static value get for SecretPermissions.

static final SecretPermissions LIST

Static value list for SecretPermissions.

static final SecretPermissions PURGE

Static value purge for SecretPermissions.

static final SecretPermissions RECOVER

Static value recover for SecretPermissions.

static final SecretPermissions RESTORE

Static value restore for SecretPermissions.

static final SecretPermissions SET

Static value set for SecretPermissions.

Constructor Summary

Constructor Description
SecretPermissions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecretPermissions value.

Method Summary

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

Creates or finds a SecretPermissions from its string representation.

static Collection<SecretPermissions> values()

Gets known SecretPermissions values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL

public static final SecretPermissions ALL

Static value all for SecretPermissions.

BACKUP

public static final SecretPermissions BACKUP

Static value backup for SecretPermissions.

DELETE

public static final SecretPermissions DELETE

Static value delete for SecretPermissions.

GET

public static final SecretPermissions GET

Static value get for SecretPermissions.

LIST

public static final SecretPermissions LIST

Static value list for SecretPermissions.

PURGE

public static final SecretPermissions PURGE

Static value purge for SecretPermissions.

RECOVER

public static final SecretPermissions RECOVER

Static value recover for SecretPermissions.

RESTORE

public static final SecretPermissions RESTORE

Static value restore for SecretPermissions.

SET

public static final SecretPermissions SET

Static value set for SecretPermissions.

Constructor Details

SecretPermissions

@Deprecated
public SecretPermissions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecretPermissions value.

Method Details

fromString

public static SecretPermissions fromString(String name)

Creates or finds a SecretPermissions from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecretPermissions.

values

public static Collection values()

Gets known SecretPermissions values.

Returns:

known SecretPermissions values.

Applies to