Class AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.organizations.events.AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails>
- Enclosing interface:
AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails
@Stability(Experimental)
public static final class AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails.Builder
extends Object
implements software.amazon.jsii.Builder<AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.createAccountStatus(AccountEvents.AWSServiceEventViaCloudTrail.CreateAccountStatus createAccountStatus)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
createAccountStatus
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails.Builder createAccountStatus(AccountEvents.AWSServiceEventViaCloudTrail.CreateAccountStatus createAccountStatus) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails.getCreateAccountStatus()- Parameters:
createAccountStatus- createAccountStatus property. Specify an array of string values to match this event if the actual value of createAccountStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails>- Returns:
- a new instance of
AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails - Throws:
NullPointerException- if any required attribute was not provided
-