Class AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.organizations.events.AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps>
- Enclosing interface:
AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps
@Stability(Experimental)
public static final class AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder
extends Object
implements software.amazon.jsii.Builder<AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) eventSource(List<String> eventSource) eventVersion(List<String> eventVersion) serviceEventDetails(AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails serviceEventDetails) sourceIpAddress(List<String> sourceIpAddress)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsRegion
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder awsRegion(List<String> awsRegion) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getAwsRegion()- Parameters:
awsRegion- awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventId
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder eventId(List<String> eventId) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getEventId()- Parameters:
eventId- eventID property. Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventName
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder eventName(List<String> eventName) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getEventName()- Parameters:
eventName- eventName property. Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventSource
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder eventSource(List<String> eventSource) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getEventSource()- Parameters:
eventSource- eventSource property. Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventTime
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder eventTime(List<String> eventTime) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getEventTime()- Parameters:
eventTime- eventTime property. Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventType
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder eventType(List<String> eventType) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getEventType()- Parameters:
eventType- eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventVersion
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder eventVersion(List<String> eventVersion) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getEventVersion()- Parameters:
eventVersion- eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
readOnly
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder readOnly(List<String> readOnly) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getReadOnly()- Parameters:
readOnly- readOnly property. Specify an array of string values to match this event if the actual value of readOnly is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
serviceEventDetails
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder serviceEventDetails(AccountEvents.AWSServiceEventViaCloudTrail.ServiceEventDetails serviceEventDetails) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getServiceEventDetails()- Parameters:
serviceEventDetails- serviceEventDetails property. Specify an array of string values to match this event if the actual value of serviceEventDetails is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceIpAddress
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder sourceIpAddress(List<String> sourceIpAddress) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getSourceIpAddress()- Parameters:
sourceIpAddress- sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
userAgent
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder userAgent(List<String> userAgent) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getUserAgent()- Parameters:
userAgent- userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
userIdentity
@Stability(Experimental) public AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.Builder userIdentity(AccountEvents.AWSServiceEventViaCloudTrail.UserIdentity userIdentity) Sets the value ofAccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps.getUserIdentity()- Parameters:
userIdentity- userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity 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.AWSServiceEventViaCloudTrailProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps>- Returns:
- a new instance of
AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps - Throws:
NullPointerException- if any required attribute was not provided
-