@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 will be 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, otherwise the request will be ignored. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setJsonPath(String jsonPath)
A JsonPath expression that will be 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, otherwise the request will be ignored. |
String |
toString()
Returns a string representation of this object.
|
WebhookFilterRule |
withJsonPath(String jsonPath)
A JsonPath expression that will be 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, otherwise the request will be ignored. |
public void setJsonPath(String jsonPath)
A JsonPath expression that will be 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 will be
ignored. For more information about JsonPath expressions, see Java JsonPath implementation in GitHub.
jsonPath - A JsonPath expression that will be 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 will be ignored. For more information about JsonPath expressions, see Java JsonPath implementation in GitHub.public String getJsonPath()
A JsonPath expression that will be 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 will be
ignored. For more information about JsonPath expressions, see Java JsonPath implementation in GitHub.
MatchEquals field, otherwise the
request will be ignored. For more information about JsonPath expressions, see Java JsonPath implementation in GitHub.public WebhookFilterRule withJsonPath(String jsonPath)
A JsonPath expression that will be 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 will be
ignored. For more information about JsonPath expressions, see Java JsonPath implementation in GitHub.
jsonPath - A JsonPath expression that will be 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 will be ignored. For more information about JsonPath expressions, 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 will be ignored. Properties from the target action
configuration can be included as placeholders in this value by surrounding the action configuration key with
curly braces. 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 "master", the MatchEquals value will
be evaluated as "refs/heads/master". 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 will be ignored. Properties from the target action
configuration can be included as placeholders in this value by surrounding the action configuration key
with curly braces. 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 "master", the
MatchEquals value will be evaluated as "refs/heads/master". 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 will be ignored. Properties from the target action
configuration can be included as placeholders in this value by surrounding the action configuration key with
curly braces. 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 "master", the MatchEquals value will
be evaluated as "refs/heads/master". 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 will be ignored. Properties from the target action
configuration can be included as placeholders in this value by surrounding the action configuration key
with curly braces. 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 "master", the
MatchEquals value will be evaluated as "refs/heads/master". 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 will be ignored. Properties from the target action
configuration can be included as placeholders in this value by surrounding the action configuration key with
curly braces. 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 "master", the MatchEquals value will
be evaluated as "refs/heads/master". 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 will be ignored. Properties from the target action
configuration can be included as placeholders in this value by surrounding the action configuration key
with curly braces. 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 "master", the
MatchEquals value will be evaluated as "refs/heads/master". 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 © 2019. All rights reserved.