SecretObjectType Class

public final class SecretObjectType
extends ExpandableStringEnum<SecretObjectType>

The type of the secret object which determines how the value of the secret object has to be interpreted.

Field Summary

Modifier and Type Field and Description
static final SecretObjectType OPAQUE

Static value Opaque for SecretObjectType.

static final SecretObjectType VAULTSECRET

Static value Vaultsecret for SecretObjectType.

Constructor Summary

Constructor Description
SecretObjectType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecretObjectType value.

Method Summary

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

Creates or finds a SecretObjectType from its string representation.

static Collection<SecretObjectType> values()

Gets known SecretObjectType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

OPAQUE

public static final SecretObjectType OPAQUE

Static value Opaque for SecretObjectType.

VAULTSECRET

public static final SecretObjectType VAULTSECRET

Static value Vaultsecret for SecretObjectType.

Constructor Details

SecretObjectType

@Deprecated
public SecretObjectType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecretObjectType value.

Method Details

fromString

public static SecretObjectType fromString(String name)

Creates or finds a SecretObjectType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecretObjectType.

values

public static Collection values()

Gets known SecretObjectType values.

Returns:

known SecretObjectType values.

Applies to