Class CfnSessionLoggerMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnSessionLoggerMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSessionLoggerMixinProps>
- Enclosing interface:
CfnSessionLoggerMixinProps
@Stability(Stable)
public static final class CfnSessionLoggerMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSessionLoggerMixinProps>
A builder for
CfnSessionLoggerMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnSessionLoggerMixinProps.getAdditionalEncryptionContext()additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnSessionLoggerMixinProps.getAdditionalEncryptionContext()build()Builds the configured instance.customerManagedKey(String customerManagedKey) Sets the value ofCfnSessionLoggerMixinProps.getCustomerManagedKey()displayName(String displayName) Sets the value ofCfnSessionLoggerMixinProps.getDisplayName()Sets the value ofCfnSessionLoggerMixinProps.getEventFilter()eventFilter(IResolvable eventFilter) Sets the value ofCfnSessionLoggerMixinProps.getEventFilter()logConfiguration(CfnSessionLoggerPropsMixin.LogConfigurationProperty logConfiguration) Sets the value ofCfnSessionLoggerMixinProps.getLogConfiguration()logConfiguration(IResolvable logConfiguration) Sets the value ofCfnSessionLoggerMixinProps.getLogConfiguration()Sets the value ofCfnSessionLoggerMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalEncryptionContext
@Stability(Stable) public CfnSessionLoggerMixinProps.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnSessionLoggerMixinProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- The additional encryption context of the session logger.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnSessionLoggerMixinProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnSessionLoggerMixinProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- The additional encryption context of the session logger.- Returns:
this
-
customerManagedKey
@Stability(Stable) public CfnSessionLoggerMixinProps.Builder customerManagedKey(String customerManagedKey) Sets the value ofCfnSessionLoggerMixinProps.getCustomerManagedKey()- Parameters:
customerManagedKey- The custom managed key of the session logger.- Returns:
this
-
displayName
Sets the value ofCfnSessionLoggerMixinProps.getDisplayName()- Parameters:
displayName- The human-readable display name.- Returns:
this
-
eventFilter
Sets the value ofCfnSessionLoggerMixinProps.getEventFilter()- Parameters:
eventFilter- The filter that specifies which events to monitor.- Returns:
this
-
eventFilter
@Stability(Stable) public CfnSessionLoggerMixinProps.Builder eventFilter(CfnSessionLoggerPropsMixin.EventFilterProperty eventFilter) Sets the value ofCfnSessionLoggerMixinProps.getEventFilter()- Parameters:
eventFilter- The filter that specifies which events to monitor.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnSessionLoggerMixinProps.Builder logConfiguration(IResolvable logConfiguration) Sets the value ofCfnSessionLoggerMixinProps.getLogConfiguration()- Parameters:
logConfiguration- The configuration that specifies where logs are fowarded.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnSessionLoggerMixinProps.Builder logConfiguration(CfnSessionLoggerPropsMixin.LogConfigurationProperty logConfiguration) Sets the value ofCfnSessionLoggerMixinProps.getLogConfiguration()- Parameters:
logConfiguration- The configuration that specifies where logs are fowarded.- Returns:
this
-
tags
Sets the value ofCfnSessionLoggerMixinProps.getTags()- Parameters:
tags- The tags of the session logger.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSessionLoggerMixinProps>- Returns:
- a new instance of
CfnSessionLoggerMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-