Class CfnApplication.MonitoringConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.MonitoringConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.MonitoringConfigurationProperty>
- Enclosing interface:
CfnApplication.MonitoringConfigurationProperty
@Stability(Stable)
public static final class CfnApplication.MonitoringConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.MonitoringConfigurationProperty>
A builder for
CfnApplication.MonitoringConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatchLoggingConfiguration
(IResolvable cloudWatchLoggingConfiguration) cloudWatchLoggingConfiguration
(CfnApplication.CloudWatchLoggingConfigurationProperty cloudWatchLoggingConfiguration) managedPersistenceMonitoringConfiguration
(IResolvable managedPersistenceMonitoringConfiguration) managedPersistenceMonitoringConfiguration
(CfnApplication.ManagedPersistenceMonitoringConfigurationProperty managedPersistenceMonitoringConfiguration) s3MonitoringConfiguration
(IResolvable s3MonitoringConfiguration) s3MonitoringConfiguration
(CfnApplication.S3MonitoringConfigurationProperty s3MonitoringConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLoggingConfiguration
@Stability(Stable) public CfnApplication.MonitoringConfigurationProperty.Builder cloudWatchLoggingConfiguration(IResolvable cloudWatchLoggingConfiguration) Sets the value ofCfnApplication.MonitoringConfigurationProperty.getCloudWatchLoggingConfiguration()
- Parameters:
cloudWatchLoggingConfiguration
- The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.- Returns:
this
-
cloudWatchLoggingConfiguration
@Stability(Stable) public CfnApplication.MonitoringConfigurationProperty.Builder cloudWatchLoggingConfiguration(CfnApplication.CloudWatchLoggingConfigurationProperty cloudWatchLoggingConfiguration) Sets the value ofCfnApplication.MonitoringConfigurationProperty.getCloudWatchLoggingConfiguration()
- Parameters:
cloudWatchLoggingConfiguration
- The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.- Returns:
this
-
managedPersistenceMonitoringConfiguration
@Stability(Stable) public CfnApplication.MonitoringConfigurationProperty.Builder managedPersistenceMonitoringConfiguration(IResolvable managedPersistenceMonitoringConfiguration) Sets the value ofCfnApplication.MonitoringConfigurationProperty.getManagedPersistenceMonitoringConfiguration()
- Parameters:
managedPersistenceMonitoringConfiguration
- The managed log persistence configuration for a job run.- Returns:
this
-
managedPersistenceMonitoringConfiguration
@Stability(Stable) public CfnApplication.MonitoringConfigurationProperty.Builder managedPersistenceMonitoringConfiguration(CfnApplication.ManagedPersistenceMonitoringConfigurationProperty managedPersistenceMonitoringConfiguration) Sets the value ofCfnApplication.MonitoringConfigurationProperty.getManagedPersistenceMonitoringConfiguration()
- Parameters:
managedPersistenceMonitoringConfiguration
- The managed log persistence configuration for a job run.- Returns:
this
-
s3MonitoringConfiguration
@Stability(Stable) public CfnApplication.MonitoringConfigurationProperty.Builder s3MonitoringConfiguration(IResolvable s3MonitoringConfiguration) - Parameters:
s3MonitoringConfiguration
- The Amazon S3 configuration for monitoring log publishing.- Returns:
this
-
s3MonitoringConfiguration
@Stability(Stable) public CfnApplication.MonitoringConfigurationProperty.Builder s3MonitoringConfiguration(CfnApplication.S3MonitoringConfigurationProperty s3MonitoringConfiguration) - Parameters:
s3MonitoringConfiguration
- The Amazon S3 configuration for monitoring log publishing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.MonitoringConfigurationProperty>
- Returns:
- a new instance of
CfnApplication.MonitoringConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-