Class CfnApplicationV2.MonitoringConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.MonitoringConfigurationProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnApplicationV2.MonitoringConfigurationProperty>
- Enclosing interface:
 - CfnApplicationV2.MonitoringConfigurationProperty
 
@Stability(Stable)
public static final class CfnApplicationV2.MonitoringConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.MonitoringConfigurationProperty>
A builder for 
CfnApplicationV2.MonitoringConfigurationProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationType(String configurationType) Sets the value ofCfnApplicationV2.MonitoringConfigurationProperty.getConfigurationType()Sets the value ofCfnApplicationV2.MonitoringConfigurationProperty.getLogLevel()metricsLevel(String metricsLevel) Sets the value ofCfnApplicationV2.MonitoringConfigurationProperty.getMetricsLevel() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
configurationType
@Stability(Stable) public CfnApplicationV2.MonitoringConfigurationProperty.Builder configurationType(String configurationType) Sets the value ofCfnApplicationV2.MonitoringConfigurationProperty.getConfigurationType()- Parameters:
 configurationType- Describes whether to use the default CloudWatch logging configuration for an application. This parameter is required. You must set this property toCUSTOMin order to set theLogLevelorMetricsLevelparameters.- Returns:
 this
 - 
logLevel
@Stability(Stable) public CfnApplicationV2.MonitoringConfigurationProperty.Builder logLevel(String logLevel) Sets the value ofCfnApplicationV2.MonitoringConfigurationProperty.getLogLevel()- Parameters:
 logLevel- Describes the verbosity of the CloudWatch Logs for an application.- Returns:
 this
 - 
metricsLevel
@Stability(Stable) public CfnApplicationV2.MonitoringConfigurationProperty.Builder metricsLevel(String metricsLevel) Sets the value ofCfnApplicationV2.MonitoringConfigurationProperty.getMetricsLevel()- Parameters:
 metricsLevel- Describes the granularity of the CloudWatch Logs for an application. TheParallelismlevel is not recommended for applications with a Parallelism over 64 due to excessive costs.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationV2.MonitoringConfigurationProperty>- Returns:
 - a new instance of 
CfnApplicationV2.MonitoringConfigurationProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -