@Stability(value=Experimental) public static final class MergifyRule.Builder extends Object implements software.amazon.jsii.Builder<MergifyRule>
MergifyRule| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MergifyRule.Builder |
actions(Map<String,? extends Object> actions)
Sets the value of
MergifyRule.getActions() |
MergifyRule |
build()
Builds the configured instance.
|
MergifyRule.Builder |
conditions(List<? extends Object> conditions)
Sets the value of
MergifyRule.getConditions() |
MergifyRule.Builder |
name(String name)
Sets the value of
MergifyRule.getName() |
@Stability(value=Experimental) public MergifyRule.Builder actions(Map<String,? extends Object> actions)
MergifyRule.getActions()actions - A dictionary made of Actions that will be executed on the matching pull requests. This parameter is required.this@Stability(value=Experimental) public MergifyRule.Builder conditions(List<? extends Object> conditions)
MergifyRule.getConditions()conditions - A list of Conditions string that must match against the pull request for the rule to be applied. This parameter is required.this@Stability(value=Experimental) public MergifyRule.Builder name(String name)
MergifyRule.getName()name - The name of the rule. This parameter is required.
This is not used by the engine directly,
but is used when reporting information about a rule.this@Stability(value=Experimental) public MergifyRule build()
build in interface software.amazon.jsii.Builder<MergifyRule>MergifyRuleNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.