Class RecoveryPointProperties
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointProperties
Properties of Recovery Point.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RecoveryPointProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the expiryTime property: Expiry time of Recovery Point in UTC.ruleName()
Get the ruleName property: Rule name tagged on Recovery Point that governs life cycle.void
validate()
Validates the instance.withExpiryTime
(String expiryTime) Set the expiryTime property: Expiry time of Recovery Point in UTC.withRuleName
(String ruleName) Set the ruleName property: Rule name tagged on Recovery Point that governs life cycle.
-
Constructor Details
-
RecoveryPointProperties
public RecoveryPointProperties()Creates an instance of RecoveryPointProperties class.
-
-
Method Details
-
expiryTime
Get the expiryTime property: Expiry time of Recovery Point in UTC.- Returns:
- the expiryTime value.
-
withExpiryTime
Set the expiryTime property: Expiry time of Recovery Point in UTC.- Parameters:
expiryTime
- the expiryTime value to set.- Returns:
- the RecoveryPointProperties object itself.
-
ruleName
Get the ruleName property: Rule name tagged on Recovery Point that governs life cycle.- Returns:
- the ruleName value.
-
withRuleName
Set the ruleName property: Rule name tagged on Recovery Point that governs life cycle.- Parameters:
ruleName
- the ruleName value to set.- Returns:
- the RecoveryPointProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-