Class RetentionScheduleFormat
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RetentionScheduleFormat>
com.azure.resourcemanager.recoveryservicesbackup.models.RetentionScheduleFormat
public final class RetentionScheduleFormat
extends com.azure.core.util.ExpandableStringEnum<RetentionScheduleFormat>
Retention schedule format type for monthly retention policy.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RetentionScheduleFormat
Static value Daily for RetentionScheduleFormat.static final RetentionScheduleFormat
Static value Invalid for RetentionScheduleFormat.static final RetentionScheduleFormat
Static value Weekly for RetentionScheduleFormat. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RetentionScheduleFormat
fromString
(String name) Creates or finds a RetentionScheduleFormat from its string representation.static Collection<RetentionScheduleFormat>
values()
Gets known RetentionScheduleFormat values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
INVALID
Static value Invalid for RetentionScheduleFormat. -
DAILY
Static value Daily for RetentionScheduleFormat. -
WEEKLY
Static value Weekly for RetentionScheduleFormat.
-
-
Constructor Details
-
RetentionScheduleFormat
Deprecated.Use thefromString(String)
factory method.Creates a new instance of RetentionScheduleFormat value.
-
-
Method Details
-
fromString
Creates or finds a RetentionScheduleFormat from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding RetentionScheduleFormat.
-
values
Gets known RetentionScheduleFormat values.- Returns:
- known RetentionScheduleFormat values.
-
fromString(String)
factory method.