Class BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.events.BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem>
- Enclosing interface:
BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem
@Stability(Experimental)
public static final class BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder
extends Object
implements software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder accountId(List<String> accountId) - 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
-
arn
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder arn(List<String> arn) - Parameters:
arn- ARN property. Specify an array of string values to match this event if the actual value of ARN is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
type
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder type(List<String> type) - Parameters:
type- type property. Specify an array of string values to match this event if the actual value of type 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.AwsapiCallViaCloudTrailItem build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem>- Returns:
- a new instance of
BucketEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem - Throws:
NullPointerException- if any required attribute was not provided
-