@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WebhookFilterRule extends Object implements Serializable, Cloneable, StructuredPojo
The event criteria that specify when a webhook notification is sent to your URL.
| Constructor and Description |
|---|
WebhookFilterRule() |
| Modifier and Type | Method and Description |
|---|---|
WebhookFilterRule |
clone() |
boolean |
equals(Object obj) |
String |
getJsonPath()
A JsonPath expression that is applied to the body/payload of the webhook.
|
String |
getMatchEquals()
The value selected by the
JsonPath expression must match what is supplied in the
MatchEquals field. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setJsonPath(String jsonPath)
A JsonPath expression that is applied to the body/payload of the webhook.
|
void |
setMatchEquals(String matchEquals)
The value selected by the
JsonPath expression must match what is supplied in the
MatchEquals field. |
String |
toString()
Returns a string representation of this object.
|
WebhookFilterRule |
withJsonPath(String jsonPath)
A JsonPath expression that is applied to the body/payload of the webhook.
|
WebhookFilterRule |
withMatchEquals(String matchEquals)
The value selected by the
JsonPath expression must match what is supplied in the
MatchEquals field. |
public void setJsonPath(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.
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.public String getJsonPath()
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 WebhookFilterRule withJsonPath(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.
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.public void setMatchEquals(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.
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.public String getMatchEquals()
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 withMatchEquals(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.
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.public String toString()
toString in class ObjectObject.toString()public WebhookFilterRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.