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