Class ChownMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ChownMode>
com.azure.resourcemanager.netapp.models.ChownMode

public final class ChownMode extends com.azure.core.util.ExpandableStringEnum<ChownMode>
This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ChownMode
    Static value Restricted for ChownMode.
    static final ChownMode
    Static value Unrestricted for ChownMode.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static ChownMode
    Creates or finds a ChownMode from its string representation.
    Gets known ChownMode 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

    • RESTRICTED

      public static final ChownMode RESTRICTED
      Static value Restricted for ChownMode.
    • UNRESTRICTED

      public static final ChownMode UNRESTRICTED
      Static value Unrestricted for ChownMode.
  • Constructor Details

    • ChownMode

      public ChownMode()
  • Method Details

    • fromString

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

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