DeletePolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. DeletePolicy
- com.
- com.
public final class DeletePolicy
extends ExpandableStringEnum<DeletePolicy>
Delete options of a namespace.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Delete |
DELETE
Static value Delete for Delete |
|
static final
Delete |
KEEP
Static value Keep for Delete |
Constructor Summary
| Constructor | Description |
|---|---|
| DeletePolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Delete |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Delete |
fromString(String name)
Creates or finds a Delete |
|
static
Collection<Delete |
values()
Gets known Delete |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DELETE
public static final DeletePolicy DELETE
Static value Delete for DeletePolicy.
KEEP
public static final DeletePolicy KEEP
Static value Keep for DeletePolicy.
Constructor Details
DeletePolicy
@Deprecated
public DeletePolicy()
Deprecated
Creates a new instance of DeletePolicy value.
Method Details
fromString
public static DeletePolicy fromString(String name)
Creates or finds a DeletePolicy from its string representation.
Parameters:
Returns:
values
public static Collection<DeletePolicy> values()
Gets known DeletePolicy values.
Returns: