Class RetentionDurationType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<RetentionDurationType>
com.azure.resourcemanager.recoveryservicesbackup.models.RetentionDurationType

public final class RetentionDurationType extends com.azure.core.util.ExpandableStringEnum<RetentionDurationType>
Retention duration type of retention policy.
  • Field Details

  • Constructor Details

    • RetentionDurationType

      @Deprecated public RetentionDurationType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of RetentionDurationType value.
  • Method Details

    • fromString

      public static RetentionDurationType fromString(String name)
      Creates or finds a RetentionDurationType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding RetentionDurationType.
    • values

      public static Collection<RetentionDurationType> values()
      Gets known RetentionDurationType values.
      Returns:
      known RetentionDurationType values.