Builder

public final class Builder

Builder for CreateRuleRequest.

Parameters

name

Name of the rule.

trigger

When this rule is evaluated.

match

The match conditions.

actions

The actions to perform.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public final CreateRuleRequest build()
Link copied to clipboard
public final CreateRuleRequest.Builder description(String description)

Set the description of the rule.

Link copied to clipboard
public final CreateRuleRequest.Builder enabled(Boolean enabled)

Set whether the rule is active.

Link copied to clipboard
public final CreateRuleRequest.Builder priority(Integer priority)

Set the evaluation priority.