Class CfnSessionLogger.EventFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnSessionLogger.EventFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionLogger.EventFilterProperty>
- Enclosing interface:
CfnSessionLogger.EventFilterProperty
@Stability(Stable)
public static final class CfnSessionLogger.EventFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionLogger.EventFilterProperty>
A builder for
CfnSessionLogger.EventFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSessionLogger.EventFilterProperty.getAll()build()Builds the configured instance.Sets the value ofCfnSessionLogger.EventFilterProperty.getInclude()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
all
Sets the value ofCfnSessionLogger.EventFilterProperty.getAll()- Parameters:
all- The filter that monitors all of the available events, including any new events emitted in the future. TheAllandIncludeproperties are not required, but one of them should be present.{}is a valid input.- Returns:
this
-
include
@Stability(Stable) public CfnSessionLogger.EventFilterProperty.Builder include(List<String> include) Sets the value ofCfnSessionLogger.EventFilterProperty.getInclude()- Parameters:
include- The filter that monitors only the listed set of events. New events are not auto-monitored. TheAllandIncludeproperties are not required, but one of them should be present.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSessionLogger.EventFilterProperty>- Returns:
- a new instance of
CfnSessionLogger.EventFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-