Class CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty>
- Enclosing interface:
CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty
@Stability(Stable)
public static final class CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled) logStreamNamePrefix(String logStreamNamePrefix) logTypes(IResolvable logTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- Enables CloudWatch logging.- Returns:
this
-
enabled
@Stability(Stable) public CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- Enables CloudWatch logging.- Returns:
this
-
logGroup
@Stability(Stable) public CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.Builder logGroup(String logGroup) - Parameters:
logGroup- The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.- Returns:
this
-
logStreamNamePrefix
@Stability(Stable) public CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.Builder logStreamNamePrefix(String logStreamNamePrefix) Sets the value ofCfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.getLogStreamNamePrefix()- Parameters:
logStreamNamePrefix- Prefix for the CloudWatch log stream name.- Returns:
this
-
logTypes
@Stability(Stable) public CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.Builder logTypes(IResolvable logTypes) - Parameters:
logTypes- The types of logs that you want to publish to CloudWatch.- Returns:
this
-
logTypes
@Stability(Stable) public CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty.Builder logTypes(Map<String, ? extends List<String>> logTypes) - Parameters:
logTypes- The types of logs that you want to publish to CloudWatch.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty>- Returns:
- a new instance of
CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-