Class WebhookFilterRule
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.WebhookFilterRule
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WebhookFilterRule.Builder,WebhookFilterRule>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWebhookFilterRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebhookFilterRule.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjsonPath()A JsonPath expression that is applied to the body/payload of the webhook.StringmatchEquals()The value selected by theJsonPathexpression must match what is supplied in theMatchEqualsfield.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WebhookFilterRule.Builder>serializableBuilderClass()WebhookFilterRule.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jsonPath
public 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
MatchEqualsfield. Otherwise, the request is ignored. For more information, see Java JsonPath implementation in GitHub.- Returns:
- 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.
-
matchEquals
public final 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.- Returns:
- 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.
-
toBuilder
public WebhookFilterRule.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WebhookFilterRule.Builder,WebhookFilterRule>
-
builder
public static WebhookFilterRule.Builder builder()
-
serializableBuilderClass
public static Class<? extends WebhookFilterRule.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-