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