Class LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.logs.events.LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext>
- Enclosing interface:
LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext
@Stability(Experimental)
public static final class LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext.Builder
extends Object
implements software.amazon.jsii.Builder<LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext>
A builder for
LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofLogGroupEvents.AWSAPICallViaCloudTrail.SessionContext.getAttributes()build()Builds the configured instance.Sets the value ofLogGroupEvents.AWSAPICallViaCloudTrail.SessionContext.getSessionIssuer()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Experimental) public LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext.Builder attributes(LogGroupEvents.AWSAPICallViaCloudTrail.Attributes attributes) Sets the value ofLogGroupEvents.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 LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext.Builder sessionIssuer(LogGroupEvents.AWSAPICallViaCloudTrail.SessionIssuer sessionIssuer) Sets the value ofLogGroupEvents.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<LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext>- Returns:
- a new instance of
LogGroupEvents.AWSAPICallViaCloudTrail.SessionContext - Throws:
NullPointerException- if any required attribute was not provided
-