Enum FileExpirationOffset

java.lang.Object
java.lang.Enum<FileExpirationOffset>
com.azure.storage.file.datalake.models.FileExpirationOffset
All Implemented Interfaces:
Serializable, Comparable<FileExpirationOffset>, java.lang.constant.Constable

public enum FileExpirationOffset extends Enum<FileExpirationOffset>
Enum to specify when a file's expiration time should be relative to.
  • Enum Constant Details

    • CREATION_TIME

      public static final FileExpirationOffset CREATION_TIME
      Files's expiration time should be set relative to the file creation time.
    • NOW

      public static final FileExpirationOffset NOW
      Files's expiration time should be set relative to the current time.
  • Method Details

    • values

      public static FileExpirationOffset[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FileExpirationOffset valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null