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 value to be set. This parameter is required.- Returns:
this
-
eventFilter
@Stability(Stable) public CfnSessionLoggerProps.Builder eventFilter(CfnSessionLogger.EventFilterProperty eventFilter) Sets the value ofCfnSessionLoggerProps.getEventFilter()
- Parameters:
eventFilter
- the value to be set. This parameter is required.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnSessionLoggerProps.Builder logConfiguration(IResolvable logConfiguration) Sets the value ofCfnSessionLoggerProps.getLogConfiguration()
- Parameters:
logConfiguration
- the value to be set. This parameter is required.- Returns:
this
-
logConfiguration
@Stability(Stable) public CfnSessionLoggerProps.Builder logConfiguration(CfnSessionLogger.LogConfigurationProperty logConfiguration) Sets the value ofCfnSessionLoggerProps.getLogConfiguration()
- Parameters:
logConfiguration
- the value to be set. 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 value to be set.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnSessionLoggerProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnSessionLoggerProps.getAdditionalEncryptionContext()
- Parameters:
additionalEncryptionContext
- the value to be set.- Returns:
this
-
customerManagedKey
@Stability(Stable) public CfnSessionLoggerProps.Builder customerManagedKey(String customerManagedKey) Sets the value ofCfnSessionLoggerProps.getCustomerManagedKey()
- Parameters:
customerManagedKey
- the value to be set.- Returns:
this
-
displayName
Sets the value ofCfnSessionLoggerProps.getDisplayName()
- Parameters:
displayName
- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnSessionLoggerProps.getTags()
- Parameters:
tags
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSessionLoggerProps>
- Returns:
- a new instance of
CfnSessionLoggerProps
- Throws:
NullPointerException
- if any required attribute was not provided
-