Class CopyOptions
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CopyOptions>
com.azure.resourcemanager.recoveryservicesbackup.models.CopyOptions
Options to resolve copy conflicts.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CopyOptions
Static value CreateCopy for CopyOptions.static final CopyOptions
Static value FailOnConflict for CopyOptions.static final CopyOptions
Static value Invalid for CopyOptions.static final CopyOptions
Static value Overwrite for CopyOptions.static final CopyOptions
Static value Skip for CopyOptions. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CopyOptions
fromString
(String name) Creates or finds a CopyOptions from its string representation.static Collection<CopyOptions>
values()
Gets known CopyOptions values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
INVALID
Static value Invalid for CopyOptions. -
CREATE_COPY
Static value CreateCopy for CopyOptions. -
SKIP
Static value Skip for CopyOptions. -
OVERWRITE
Static value Overwrite for CopyOptions. -
FAIL_ON_CONFLICT
Static value FailOnConflict for CopyOptions.
-
-
Constructor Details
-
CopyOptions
Deprecated.Use thefromString(String)
factory method.Creates a new instance of CopyOptions value.
-
-
Method Details
-
fromString
Creates or finds a CopyOptions from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CopyOptions.
-
values
Gets known CopyOptions values.- Returns:
- known CopyOptions values.
-
fromString(String)
factory method.