ImportMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. ImportMode
- com.
- com.
public final class ImportMode
extends 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 Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Import |
FORCE
Static value Force for Import |
|
static final
Import |
NO_FORCE
Static value No |
Constructor Summary
| Constructor | Description |
|---|---|
| ImportMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Import |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Import |
fromString(String name)
Creates or finds a Import |
|
static
Collection<Import |
values()
Gets known Import |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FORCE
public static final ImportMode FORCE
Static value Force for ImportMode.
NO_FORCE
public static final ImportMode NO_FORCE
Static value NoForce for ImportMode.
Constructor Details
ImportMode
@Deprecated
public ImportMode()
Deprecated
Creates a new instance of ImportMode value.
Method Details
fromString
public static ImportMode fromString(String name)
Creates or finds a ImportMode from its string representation.
Parameters:
Returns:
values
public static Collection<ImportMode> values()
Gets known ImportMode values.
Returns: