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

public final class ImportMode extends com.azure.core.util.ExpandableStringEnum<ImportMode>
When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.
  • Field Details

    • NO_FORCE

      public static final ImportMode NO_FORCE
      Static value NoForce for ImportMode.
    • FORCE

      public static final ImportMode FORCE
      Static value Force for ImportMode.
  • Constructor Details

  • Method Details

    • fromString

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

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