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