Class AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.organizations.events.AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity>
- Enclosing interface:
AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity
@Stability(Experimental)
public static final class AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity.Builder
extends Object
implements software.amazon.jsii.Builder<AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity>
A builder for
AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAccountEvents.AWSServiceEventViaCloudTrail.UserIdentity.getAccountId()build()Builds the configured instance.Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.UserIdentity.getInvokedBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity.Builder accountId(List<String> accountId) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.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 AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity.Builder invokedBy(List<String> invokedBy) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.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<AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity>- Returns:
- a new instance of
AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity - Throws:
NullPointerException- if any required attribute was not provided
-