Class AdHocBackupRuleOptions


  • public final class AdHocBackupRuleOptions
    extends Object
    AdHocBackupRuleOptions Adhoc backup rules.
    • Constructor Detail

      • AdHocBackupRuleOptions

        public AdHocBackupRuleOptions()
    • Method Detail

      • ruleName

        public String ruleName()
        Get the ruleName property: The ruleName property.
        Returns:
        the ruleName value.
      • withRuleName

        public AdHocBackupRuleOptions withRuleName​(String ruleName)
        Set the ruleName property: The ruleName property.
        Parameters:
        ruleName - the ruleName value to set.
        Returns:
        the AdHocBackupRuleOptions object itself.
      • triggerOption

        public AdhocBackupTriggerOption triggerOption()
        Get the triggerOption property: AdhocBackupTriggerOption Adhoc backup trigger option.
        Returns:
        the triggerOption value.
      • withTriggerOption

        public AdHocBackupRuleOptions withTriggerOption​(AdhocBackupTriggerOption triggerOption)
        Set the triggerOption property: AdhocBackupTriggerOption Adhoc backup trigger option.
        Parameters:
        triggerOption - the triggerOption value to set.
        Returns:
        the AdHocBackupRuleOptions object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.