@Generated(value="software.amazon.awssdk:codegen") public final class WebhookFilterRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WebhookFilterRule.Builder,WebhookFilterRule>
The event criteria that specify when a webhook notification is sent to your URL.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WebhookFilterRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WebhookFilterRule.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jsonPath()
A JsonPath expression that is applied to the body/payload of the webhook.
|
String |
matchEquals()
The value selected by the
JsonPath expression must match what is supplied in the
MatchEquals field. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends WebhookFilterRule.Builder> |
serializableBuilderClass() |
WebhookFilterRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 MatchEquals field. Otherwise, the request is
ignored. For more information, see Java JsonPath
implementation in GitHub.
MatchEquals field. Otherwise, the
request is ignored. For more information, see Java
JsonPath implementation in GitHub.public final String 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.
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.public WebhookFilterRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WebhookFilterRule.Builder,WebhookFilterRule>public static WebhookFilterRule.Builder builder()
public static Class<? extends WebhookFilterRule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.