Class AWSServiceEventViaCloudTrail.ServiceEventDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSServiceEventViaCloudTrail.ServiceEventDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSServiceEventViaCloudTrail.ServiceEventDetails>
- Enclosing interface:
AWSServiceEventViaCloudTrail.ServiceEventDetails
@Stability(Experimental)
public static final class AWSServiceEventViaCloudTrail.ServiceEventDetails.Builder
extends Object
implements software.amazon.jsii.Builder<AWSServiceEventViaCloudTrail.ServiceEventDetails>
A builder for
AWSServiceEventViaCloudTrail.ServiceEventDetails-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofAWSServiceEventViaCloudTrail.ServiceEventDetails.getResponse()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
response
@Stability(Experimental) public AWSServiceEventViaCloudTrail.ServiceEventDetails.Builder response(List<String> response) Sets the value ofAWSServiceEventViaCloudTrail.ServiceEventDetails.getResponse()- Parameters:
response- response property. Specify an array of string values to match this event if the actual value of response 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<AWSServiceEventViaCloudTrail.ServiceEventDetails>- Returns:
- a new instance of
AWSServiceEventViaCloudTrail.ServiceEventDetails - Throws:
NullPointerException- if any required attribute was not provided
-