Class RangeBasedItemLevelRestoreCriteria
java.lang.Object
com.azure.resourcemanager.dataprotection.models.ItemLevelRestoreCriteria
com.azure.resourcemanager.dataprotection.models.RangeBasedItemLevelRestoreCriteria
Item Level target info for restore operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RangeBasedItemLevelRestoreCriteria class. -
Method Summary
Modifier and TypeMethodDescriptionGet the maxMatchingValue property: maximum value for range prefix match.Get the minMatchingValue property: minimum value for range prefix match.void
validate()
Validates the instance.withMaxMatchingValue
(String maxMatchingValue) Set the maxMatchingValue property: maximum value for range prefix match.withMinMatchingValue
(String minMatchingValue) Set the minMatchingValue property: minimum value for range prefix match.
-
Constructor Details
-
RangeBasedItemLevelRestoreCriteria
public RangeBasedItemLevelRestoreCriteria()Creates an instance of RangeBasedItemLevelRestoreCriteria class.
-
-
Method Details
-
minMatchingValue
Get the minMatchingValue property: minimum value for range prefix match.- Returns:
- the minMatchingValue value.
-
withMinMatchingValue
Set the minMatchingValue property: minimum value for range prefix match.- Parameters:
minMatchingValue
- the minMatchingValue value to set.- Returns:
- the RangeBasedItemLevelRestoreCriteria object itself.
-
maxMatchingValue
Get the maxMatchingValue property: maximum value for range prefix match.- Returns:
- the maxMatchingValue value.
-
withMaxMatchingValue
Set the maxMatchingValue property: maximum value for range prefix match.- Parameters:
maxMatchingValue
- the maxMatchingValue value to set.- Returns:
- the RangeBasedItemLevelRestoreCriteria object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classItemLevelRestoreCriteria
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-