Interface PITPolicyRule.Builder

  • Method Details

    • enabled

      PITPolicyRule.Builder enabled(Boolean enabled)

      Whether this rule is enabled or not.

      Parameters:
      enabled - Whether this rule is enabled or not.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • interval

      PITPolicyRule.Builder interval(Integer interval)

      How often, in the chosen units, a snapshot should be taken.

      Parameters:
      interval - How often, in the chosen units, a snapshot should be taken.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retentionDuration

      PITPolicyRule.Builder retentionDuration(Integer retentionDuration)

      The duration to retain a snapshot for, in the chosen units.

      Parameters:
      retentionDuration - The duration to retain a snapshot for, in the chosen units.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleID

      PITPolicyRule.Builder ruleID(Long ruleID)

      The ID of the rule.

      Parameters:
      ruleID - The ID of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • units

      The units used to measure the interval and retentionDuration.

      Parameters:
      units - The units used to measure the interval and retentionDuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • units

      The units used to measure the interval and retentionDuration.

      Parameters:
      units - The units used to measure the interval and retentionDuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: