Class EncryptionKeyStatus

java.lang.Object
com.azure.core.util.ExpandableStringEnum<EncryptionKeyStatus>
com.azure.resourcemanager.postgresqlflexibleserver.models.EncryptionKeyStatus
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class EncryptionKeyStatus extends com.azure.core.util.ExpandableStringEnum<EncryptionKeyStatus>
Status of key used by a server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.
  • Field Details

    • VALID

      public static final EncryptionKeyStatus VALID
      Static value Valid for EncryptionKeyStatus.
    • INVALID

      public static final EncryptionKeyStatus INVALID
      Static value Invalid for EncryptionKeyStatus.
  • Constructor Details

    • EncryptionKeyStatus

      @Deprecated public EncryptionKeyStatus()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of EncryptionKeyStatus value.
  • Method Details

    • fromString

      public static EncryptionKeyStatus fromString(String name)
      Creates or finds a EncryptionKeyStatus from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding EncryptionKeyStatus.
    • values

      public static Collection<EncryptionKeyStatus> values()
      Gets known EncryptionKeyStatus values.
      Returns:
      known EncryptionKeyStatus values.