Class BucketEvents.AWSAPICallViaCloudTrail.Attributes.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.events.BucketEvents.AWSAPICallViaCloudTrail.Attributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.Attributes>
- Enclosing interface:
BucketEvents.AWSAPICallViaCloudTrail.Attributes
@Stability(Experimental)
public static final class BucketEvents.AWSAPICallViaCloudTrail.Attributes.Builder
extends Object
implements software.amazon.jsii.Builder<BucketEvents.AWSAPICallViaCloudTrail.Attributes>
A builder for
BucketEvents.AWSAPICallViaCloudTrail.Attributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.creationDate(List<String> creationDate) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.Attributes.getCreationDate()mfaAuthenticated(List<String> mfaAuthenticated) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.Attributes.getMfaAuthenticated()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
creationDate
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.Attributes.Builder creationDate(List<String> creationDate) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.Attributes.getCreationDate()- Parameters:
creationDate- creationDate property. Specify an array of string values to match this event if the actual value of creationDate is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
mfaAuthenticated
@Stability(Experimental) public BucketEvents.AWSAPICallViaCloudTrail.Attributes.Builder mfaAuthenticated(List<String> mfaAuthenticated) Sets the value ofBucketEvents.AWSAPICallViaCloudTrail.Attributes.getMfaAuthenticated()- Parameters:
mfaAuthenticated- mfaAuthenticated property. Specify an array of string values to match this event if the actual value of mfaAuthenticated 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<BucketEvents.AWSAPICallViaCloudTrail.Attributes>- Returns:
- a new instance of
BucketEvents.AWSAPICallViaCloudTrail.Attributes - Throws:
NullPointerException- if any required attribute was not provided
-