Class KeyEvents.AWSAPICallViaCloudTrail.Attributes.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.kms.events.KeyEvents.AWSAPICallViaCloudTrail.Attributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyEvents.AWSAPICallViaCloudTrail.Attributes>
- Enclosing interface:
KeyEvents.AWSAPICallViaCloudTrail.Attributes
@Stability(Experimental)
public static final class KeyEvents.AWSAPICallViaCloudTrail.Attributes.Builder
extends Object
implements software.amazon.jsii.Builder<KeyEvents.AWSAPICallViaCloudTrail.Attributes>
A builder for
KeyEvents.AWSAPICallViaCloudTrail.Attributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.creationDate(List<String> creationDate) Sets the value ofKeyEvents.AWSAPICallViaCloudTrail.Attributes.getCreationDate()mfaAuthenticated(List<String> mfaAuthenticated) Sets the value ofKeyEvents.AWSAPICallViaCloudTrail.Attributes.getMfaAuthenticated()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
creationDate
@Stability(Experimental) public KeyEvents.AWSAPICallViaCloudTrail.Attributes.Builder creationDate(List<String> creationDate) Sets the value ofKeyEvents.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 KeyEvents.AWSAPICallViaCloudTrail.Attributes.Builder mfaAuthenticated(List<String> mfaAuthenticated) Sets the value ofKeyEvents.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<KeyEvents.AWSAPICallViaCloudTrail.Attributes>- Returns:
- a new instance of
KeyEvents.AWSAPICallViaCloudTrail.Attributes - Throws:
NullPointerException- if any required attribute was not provided
-