EncryptionStatus Class

public final class EncryptionStatus
extends ExpandableStringEnum<EncryptionStatus>

Indicates whether or not the encryption is enabled for container registry.

Field Summary

Modifier and Type Field and Description
static final EncryptionStatus DISABLED

Static value disabled for EncryptionStatus.

static final EncryptionStatus ENABLED

Static value enabled for EncryptionStatus.

Constructor Summary

Constructor Description
EncryptionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EncryptionStatus value.

Method Summary

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

Creates or finds a EncryptionStatus from its string representation.

static Collection<EncryptionStatus> values()

Gets known EncryptionStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final EncryptionStatus DISABLED

Static value disabled for EncryptionStatus.

ENABLED

public static final EncryptionStatus ENABLED

Static value enabled for EncryptionStatus.

Constructor Details

EncryptionStatus

@Deprecated
public EncryptionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EncryptionStatus value.

Method Details

fromString

public static EncryptionStatus fromString(String name)

Creates or finds a EncryptionStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EncryptionStatus.

values

public static Collection values()

Gets known EncryptionStatus values.

Returns:

known EncryptionStatus values.

Applies to