Class KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.kms.events.KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext>
- Enclosing interface:
KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext
@Stability(Experimental)
public static final class KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext.Builder
extends Object
implements software.amazon.jsii.Builder<KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext>
A builder for
KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofKeyEvents.AWSAPICallViaCloudTrail.EncryptionContext.getAwsS3Arn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsS3Arn
@Stability(Experimental) public KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext.Builder awsS3Arn(List<String> awsS3Arn) Sets the value ofKeyEvents.AWSAPICallViaCloudTrail.EncryptionContext.getAwsS3Arn()- Parameters:
awsS3Arn- aws:s3:arn property. Specify an array of string values to match this event if the actual value of aws:s3:arn 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<KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext>- Returns:
- a new instance of
KeyEvents.AWSAPICallViaCloudTrail.EncryptionContext - Throws:
NullPointerException- if any required attribute was not provided
-