@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)
Marshalls this structured data using the given
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 JsonPath expression must match the value specified in the matchEquals field, otherwise the request will be ignored. More information on JsonPath expressions can be found here: https://github.com/json-path/JsonPath.
jsonPath
- A JsonPath expression that will be applied to the body/payload of the webhook. The value selected by
JsonPath expression must match the value specified in the matchEquals field, otherwise the request will be
ignored. More information on JsonPath expressions can be found here:
https://github.com/json-path/JsonPath.public String getJsonPath()
A JsonPath expression that will be applied to the body/payload of the webhook. The value selected by JsonPath expression must match the value specified in the matchEquals field, otherwise the request will be ignored. More information on JsonPath expressions can be found here: https://github.com/json-path/JsonPath.
public WebhookFilterRule withJsonPath(String jsonPath)
A JsonPath expression that will be applied to the body/payload of the webhook. The value selected by JsonPath expression must match the value specified in the matchEquals field, otherwise the request will be ignored. More information on JsonPath expressions can be found here: https://github.com/json-path/JsonPath.
jsonPath
- A JsonPath expression that will be applied to the body/payload of the webhook. The value selected by
JsonPath expression must match the value specified in the matchEquals field, otherwise the request will be
ignored. More information on JsonPath expressions can be found here:
https://github.com/json-path/JsonPath.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". A list of action configuration properties for built-in action types can be found here: 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". A list of action configuration properties for built-in action types can be found
here: 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". A list of action configuration properties for built-in action types can be found here: 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". A list of action configuration properties for built-in action types can be found here: 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". A list of action configuration properties for built-in action types can be found
here: Pipeline Structure Reference Action Requirements.public String toString()
toString
in class Object
Object.toString()
public WebhookFilterRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.