Class DeletePolicy
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DeletePolicy>
com.azure.resourcemanager.containerservice.models.DeletePolicy
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Delete options of a namespace.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeletePolicyStatic value Delete for DeletePolicy.static final DeletePolicyStatic value Keep for DeletePolicy. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeletePolicyfromString(String name) Creates or finds a DeletePolicy from its string representation.static Collection<DeletePolicy> values()Gets known DeletePolicy values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
KEEP
Static value Keep for DeletePolicy. -
DELETE
Static value Delete for DeletePolicy.
-
-
Constructor Details
-
DeletePolicy
Deprecated.Use thefromString(String)factory method.Creates a new instance of DeletePolicy value.
-
-
Method Details
-
fromString
Creates or finds a DeletePolicy from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DeletePolicy.
-
values
Gets known DeletePolicy values.- Returns:
- known DeletePolicy values.
-
fromString(String)factory method.