Class ContentEncoding

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ContentEncoding>
com.azure.resourcemanager.hdinsight.containers.models.ContentEncoding
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class ContentEncoding extends com.azure.core.util.ExpandableStringEnum<ContentEncoding>
This property indicates if the content is encoded and is case-insensitive. Please set the value to base64 if the content is base64 encoded. Set it to none or skip it if the content is plain text.
  • Field Details

    • BASE64

      public static final ContentEncoding BASE64
      Static value Base64 for ContentEncoding.
    • NONE

      public static final ContentEncoding NONE
      Static value None for ContentEncoding.
  • Constructor Details

    • ContentEncoding

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

    • fromString

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

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