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