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