@Stability(value=Stable) public static final class CfnWebhook.WebhookFilterRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebhook.WebhookFilterRuleProperty>
CfnWebhook.WebhookFilterRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWebhook.WebhookFilterRuleProperty |
build()
Builds the configured instance.
|
CfnWebhook.WebhookFilterRuleProperty.Builder |
jsonPath(String jsonPath)
Sets the value of
CfnWebhook.WebhookFilterRuleProperty.getJsonPath() |
CfnWebhook.WebhookFilterRuleProperty.Builder |
matchEquals(String matchEquals)
Sets the value of
CfnWebhook.WebhookFilterRuleProperty.getMatchEquals() |
@Stability(value=Stable) public CfnWebhook.WebhookFilterRuleProperty.Builder jsonPath(String jsonPath)
CfnWebhook.WebhookFilterRuleProperty.getJsonPath()jsonPath - A JsonPath expression that is applied to the body/payload of the webhook. This parameter is required.
The value selected by the JsonPath expression must match the value specified in the MatchEquals field. Otherwise, the request is ignored. For more information, see Java JsonPath implementation in GitHub.this@Stability(value=Stable) public CfnWebhook.WebhookFilterRuleProperty.Builder matchEquals(String matchEquals)
CfnWebhook.WebhookFilterRuleProperty.getMatchEquals()matchEquals - The value selected by the `JsonPath` expression must match what is supplied in the `MatchEquals` field.
Otherwise, the request is ignored. Properties from the target action configuration can be included as placeholders in this value by surrounding the action configuration key with curly brackets. For example, if the value supplied here is "refs/heads/{Branch}" and the target action has an action configuration property called "Branch" with a value of "main", the MatchEquals value is evaluated as "refs/heads/main". For a list of action configuration properties for built-in action types, see Pipeline Structure Reference Action Requirements .this@Stability(value=Stable) public CfnWebhook.WebhookFilterRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnWebhook.WebhookFilterRuleProperty>CfnWebhook.WebhookFilterRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.