Uses of Class
com.azure.resourcemanager.recoveryservicesbackup.models.RetentionDurationType
Package
Description
Package containing the data models for RecoveryServicesBackupClient.
-
Uses of RetentionDurationType in com.azure.resourcemanager.recoveryservicesbackup.models
Modifier and TypeFieldDescriptionstatic final RetentionDurationType
RetentionDurationType.DAYS
Static value Days for RetentionDurationType.static final RetentionDurationType
RetentionDurationType.INVALID
Static value Invalid for RetentionDurationType.static final RetentionDurationType
RetentionDurationType.MONTHS
Static value Months for RetentionDurationType.static final RetentionDurationType
RetentionDurationType.WEEKS
Static value Weeks for RetentionDurationType.static final RetentionDurationType
RetentionDurationType.YEARS
Static value Years for RetentionDurationType.Modifier and TypeMethodDescriptionRetentionDuration.durationType()
Get the durationType property: Retention duration type of retention policy.TieringPolicy.durationType()
Get the durationType property: Retention duration type: days/weeks/months/years Used only if TieringMode is set to TierAfter.static RetentionDurationType
RetentionDurationType.fromString
(String name) Creates or finds a RetentionDurationType from its string representation.Modifier and TypeMethodDescriptionstatic Collection<RetentionDurationType>
RetentionDurationType.values()
Gets known RetentionDurationType values.Modifier and TypeMethodDescriptionRetentionDuration.withDurationType
(RetentionDurationType durationType) Set the durationType property: Retention duration type of retention policy.TieringPolicy.withDurationType
(RetentionDurationType durationType) Set the durationType property: Retention duration type: days/weeks/months/years Used only if TieringMode is set to TierAfter.