Class BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.events.BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps>
- Enclosing interface:
BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps
@Stability(Experimental)
public static final class BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder
extends Object
implements software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalEventData(BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData additionalEventData) build()Builds the configured instance.errorMessage(List<String> errorMessage) eventCategory(List<String> eventCategory) eventMetadata(AWSEventMetadataProps eventMetadata) eventSource(List<String> eventSource) eventVersion(List<String> eventVersion) managementEvent(List<String> managementEvent) recipientAccountId(List<String> recipientAccountId) requestParameters(BucketEvents.AWSAPICallViaCloudTrail.RequestParameters requestParameters) resources(List<? extends BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem> resources) responseElements(List<String> responseElements) sourceIpAddress(List<String> sourceIpAddress) vpcEndpointId(List<String> vpcEndpointId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalEventData
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder additionalEventData(BucketEvents.AWSAPICallViaCloudTrail.AdditionalEventData additionalEventData) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getAdditionalEventData()- Parameters:
additionalEventData- additionalEventData property. Specify an array of string values to match this event if the actual value of additionalEventData is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
awsRegion
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder awsRegion(List<String> awsRegion) - 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
-
errorCode
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder errorCode(List<String> errorCode) - Parameters:
errorCode- errorCode property. Specify an array of string values to match this event if the actual value of errorCode is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
errorMessage
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder errorMessage(List<String> errorMessage) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getErrorMessage()- Parameters:
errorMessage- errorMessage property. Specify an array of string values to match this event if the actual value of errorMessage is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventCategory
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventCategory(List<String> eventCategory) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventCategory()- Parameters:
eventCategory- eventCategory property. Specify an array of string values to match this event if the actual value of eventCategory 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventId(List<String> eventId) - 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventName
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventName(List<String> eventName) - 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventSource(List<String> eventSource) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventTime(List<String> eventTime) - 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventType(List<String> eventType) - 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventVersion(List<String> eventVersion) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.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
-
managementEvent
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder managementEvent(List<String> managementEvent) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getManagementEvent()- Parameters:
managementEvent- managementEvent property. Specify an array of string values to match this event if the actual value of managementEvent 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder readOnly(List<String> readOnly) - 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
-
recipientAccountId
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder recipientAccountId(List<String> recipientAccountId) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getRecipientAccountId()- Parameters:
recipientAccountId- recipientAccountId property. Specify an array of string values to match this event if the actual value of recipientAccountId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requestId
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder requestId(List<String> requestId) - Parameters:
requestId- requestID property. Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requestParameters
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder requestParameters(BucketEvents.AWSAPICallViaCloudTrail.RequestParameters requestParameters) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getRequestParameters()- Parameters:
requestParameters- requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resources
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder resources(List<? extends BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem> resources) - Parameters:
resources- resources property. Specify an array of string values to match this event if the actual value of resources is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
responseElements
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder responseElements(List<String> responseElements) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getResponseElements()- Parameters:
responseElements- responseElements property. Specify an array of string values to match this event if the actual value of responseElements 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder sourceIpAddress(List<String> sourceIpAddress) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.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
-
tlsDetails
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder tlsDetails(BucketEvents.AWSAPICallViaCloudTrail.TlsDetails tlsDetails) - Parameters:
tlsDetails- tlsDetails property. Specify an array of string values to match this event if the actual value of tlsDetails 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder userAgent(List<String> userAgent) - 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder userIdentity(BucketEvents.AWSAPICallViaCloudTrail.UserIdentity userIdentity) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.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
-
vpcEndpointId
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder vpcEndpointId(List<String> vpcEndpointId) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getVpcEndpointId()- Parameters:
vpcEndpointId- vpcEndpointId property. Specify an array of string values to match this event if the actual value of vpcEndpointId 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 BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps>- Returns:
- a new instance of
BucketEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps - Throws:
NullPointerException- if any required attribute was not provided
-