Class AWSAPICallViaCloudTrail.ProjectItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSAPICallViaCloudTrail.ProjectItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ProjectItem>
- Enclosing interface:
AWSAPICallViaCloudTrail.ProjectItem
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.ProjectItem.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ProjectItem>
A builder for
AWSAPICallViaCloudTrail.ProjectItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.ProjectItem.getKey()Sets the value ofAWSAPICallViaCloudTrail.ProjectItem.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofAWSAPICallViaCloudTrail.ProjectItem.getKey()- Parameters:
key- key property. Specify an array of string values to match this event if the actual value of key is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
value
@Stability(Experimental) public AWSAPICallViaCloudTrail.ProjectItem.Builder value(List<String> value) Sets the value ofAWSAPICallViaCloudTrail.ProjectItem.getValue()- Parameters:
value- value property. Specify an array of string values to match this event if the actual value of value 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.ProjectItem>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.ProjectItem - Throws:
NullPointerException- if any required attribute was not provided
-