Interface GetRuleResponse.Builder

    • Method Detail

      • action

        GetRuleResponse.Builder action​(String action)

        The action of the rule.

        Parameters:
        action - The action of the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleAction, RuleAction
      • createdAt

        GetRuleResponse.Builder createdAt​(Instant createdAt)

        The timestamp at which the rule was created.

        Parameters:
        createdAt - The timestamp at which the rule was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        GetRuleResponse.Builder createdBy​(String createdBy)

        The user who created the rule.

        Parameters:
        createdBy - The user who created the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        GetRuleResponse.Builder description​(String description)

        The description of the rule.

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

        GetRuleResponse.Builder detail​(RuleDetail detail)

        The detail of the rule.

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

        GetRuleResponse.Builder identifier​(String identifier)

        The ID of the rule.

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

        GetRuleResponse.Builder lastUpdatedBy​(String lastUpdatedBy)

        The timestamp at which the rule was last updated.

        Parameters:
        lastUpdatedBy - The timestamp at which the rule was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        GetRuleResponse.Builder name​(String name)

        The name of the rule.

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

        GetRuleResponse.Builder revision​(String revision)

        The revision of the rule.

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

        GetRuleResponse.Builder ruleType​(String ruleType)

        The type of the rule.

        Parameters:
        ruleType - The type of the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleType, RuleType
      • ruleType

        GetRuleResponse.Builder ruleType​(RuleType ruleType)

        The type of the rule.

        Parameters:
        ruleType - The type of the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleType, RuleType
      • scope

        GetRuleResponse.Builder scope​(RuleScope scope)

        The scope of the rule.

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

        GetRuleResponse.Builder target​(RuleTarget target)

        The target of the rule.

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

        GetRuleResponse.Builder targetType​(String targetType)

        The target type of the rule.

        Parameters:
        targetType - The target type of the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleTargetType, RuleTargetType
      • updatedAt

        GetRuleResponse.Builder updatedAt​(Instant updatedAt)

        The timestamp at which the rule was last updated.

        Parameters:
        updatedAt - The timestamp at which the rule was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.