Interface WebhookFilterRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WebhookFilterRule.Builder,WebhookFilterRule>,SdkBuilder<WebhookFilterRule.Builder,WebhookFilterRule>,SdkPojo
- Enclosing class:
- WebhookFilterRule
public static interface WebhookFilterRule.Builder extends SdkPojo, CopyableBuilder<WebhookFilterRule.Builder,WebhookFilterRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebhookFilterRule.BuilderjsonPath(String jsonPath)A JsonPath expression that is applied to the body/payload of the webhook.WebhookFilterRule.BuildermatchEquals(String matchEquals)The value selected by theJsonPathexpression must match what is supplied in theMatchEqualsfield.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
jsonPath
WebhookFilterRule.Builder jsonPath(String jsonPath)
A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath expression must match the value specified in the
MatchEqualsfield. Otherwise, the request is ignored. For more information, see Java JsonPath implementation in GitHub.- Parameters:
jsonPath- A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath expression must match the value specified in theMatchEqualsfield. Otherwise, the request is ignored. For more information, see Java JsonPath implementation in GitHub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchEquals
WebhookFilterRule.Builder matchEquals(String matchEquals)
The value selected by the
JsonPathexpression must match what is supplied in theMatchEqualsfield. 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", theMatchEqualsvalue is evaluated as "refs/heads/main". For a list of action configuration properties for built-in action types, see Pipeline Structure Reference Action Requirements.- Parameters:
matchEquals- The value selected by theJsonPathexpression must match what is supplied in theMatchEqualsfield. 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", theMatchEqualsvalue is evaluated as "refs/heads/main". For a list of action configuration properties for built-in action types, see Pipeline Structure Reference Action Requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-