Class AWSAPICallViaCloudTrail.Webhook.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSAPICallViaCloudTrail.Webhook.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Webhook>
- Enclosing interface:
AWSAPICallViaCloudTrail.Webhook
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.Webhook.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Webhook>
A builder for
AWSAPICallViaCloudTrail.Webhook-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbranchFilter(List<String> branchFilter) Sets the value ofAWSAPICallViaCloudTrail.Webhook.getBranchFilter()build()Builds the configured instance.lastModifiedSecret(List<String> lastModifiedSecret) Sets the value ofAWSAPICallViaCloudTrail.Webhook.getLastModifiedSecret()payloadUrl(List<String> payloadUrl) Sets the value ofAWSAPICallViaCloudTrail.Webhook.getPayloadUrl()Sets the value ofAWSAPICallViaCloudTrail.Webhook.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
branchFilter
@Stability(Experimental) public AWSAPICallViaCloudTrail.Webhook.Builder branchFilter(List<String> branchFilter) Sets the value ofAWSAPICallViaCloudTrail.Webhook.getBranchFilter()- Parameters:
branchFilter- branchFilter property. Specify an array of string values to match this event if the actual value of branchFilter is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
lastModifiedSecret
@Stability(Experimental) public AWSAPICallViaCloudTrail.Webhook.Builder lastModifiedSecret(List<String> lastModifiedSecret) Sets the value ofAWSAPICallViaCloudTrail.Webhook.getLastModifiedSecret()- Parameters:
lastModifiedSecret- lastModifiedSecret property. Specify an array of string values to match this event if the actual value of lastModifiedSecret is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
payloadUrl
@Stability(Experimental) public AWSAPICallViaCloudTrail.Webhook.Builder payloadUrl(List<String> payloadUrl) Sets the value ofAWSAPICallViaCloudTrail.Webhook.getPayloadUrl()- Parameters:
payloadUrl- payloadUrl property. Specify an array of string values to match this event if the actual value of payloadUrl is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
url
Sets the value ofAWSAPICallViaCloudTrail.Webhook.getUrl()- Parameters:
url- url property. Specify an array of string values to match this event if the actual value of url is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Webhook>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.Webhook - Throws:
NullPointerException- if any required attribute was not provided
-