public enum SecretUsageType extends java.lang.Enum<SecretUsageType>
Secret.getUsageType()
Enum Constant and Description |
---|
CEPH
A CEPH object uses the secret
|
ISCSI
A ISCSI object uses the secret
|
NONE
No one uses the secret
|
UNKNOWN |
VOLUME
A volume uses the secret
|
Modifier and Type | Method and Description |
---|---|
static SecretUsageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecretUsageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecretUsageType NONE
public static final SecretUsageType VOLUME
public static final SecretUsageType CEPH
public static final SecretUsageType ISCSI
public static final SecretUsageType UNKNOWN
public static SecretUsageType[] values()
for (SecretUsageType c : SecretUsageType.values()) System.out.println(c);
public static SecretUsageType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null