java.lang.Object
com.azure.core.util.ExpandableStringEnum<KeyType>
com.azure.resourcemanager.storage.models.KeyType

public final class KeyType extends com.azure.core.util.ExpandableStringEnum<KeyType>
Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final KeyType
    Static value Account for KeyType.
    static final KeyType
    Static value Service for KeyType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static KeyType
    Creates or finds a KeyType from its string representation.
    Gets known KeyType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • SERVICE

      public static final KeyType SERVICE
      Static value Service for KeyType.
    • ACCOUNT

      public static final KeyType ACCOUNT
      Static value Account for KeyType.
  • Constructor Details

    • KeyType

      public KeyType()
  • Method Details

    • fromString

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

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