Class CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty>
- Enclosing interface:
CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty
@Stability(Stable)
public static final class CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.getEnabled()Sets the value ofCfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.getKmsKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.getEnabled()- Parameters:
enabled- Enables mamanged log persistence.- Returns:
this
-
enabled
@Stability(Stable) public CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.getEnabled()- Parameters:
enabled- Enables mamanged log persistence.- Returns:
this
-
kmsKey
@Stability(Stable) public CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.Builder kmsKey(String kmsKey) Sets the value ofCfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty.getKmsKey()- Parameters:
kmsKey- The KMS key ARN to encrypt the logs stored in managed log persistence.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty>- Returns:
- a new instance of
CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-