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