Class CfnEndpoint.MonitoringConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrcontainers.CfnEndpoint.MonitoringConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpoint.MonitoringConfigurationProperty>
- Enclosing interface:
CfnEndpoint.MonitoringConfigurationProperty
@Stability(Stable)
public static final class CfnEndpoint.MonitoringConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpoint.MonitoringConfigurationProperty>
A builder for
CfnEndpoint.MonitoringConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchMonitoringConfiguration(IResolvable cloudWatchMonitoringConfiguration) cloudWatchMonitoringConfiguration(CfnEndpoint.CloudWatchMonitoringConfigurationProperty cloudWatchMonitoringConfiguration) containerLogRotationConfiguration(IResolvable containerLogRotationConfiguration) containerLogRotationConfiguration(CfnEndpoint.ContainerLogRotationConfigurationProperty containerLogRotationConfiguration) persistentAppUi(String persistentAppUi) Sets the value ofCfnEndpoint.MonitoringConfigurationProperty.getPersistentAppUi()s3MonitoringConfiguration(IResolvable s3MonitoringConfiguration) s3MonitoringConfiguration(CfnEndpoint.S3MonitoringConfigurationProperty s3MonitoringConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchMonitoringConfiguration
@Stability(Stable) public CfnEndpoint.MonitoringConfigurationProperty.Builder cloudWatchMonitoringConfiguration(IResolvable cloudWatchMonitoringConfiguration) Sets the value ofCfnEndpoint.MonitoringConfigurationProperty.getCloudWatchMonitoringConfiguration()- Parameters:
cloudWatchMonitoringConfiguration- the value to be set.- Returns:
this
-
cloudWatchMonitoringConfiguration
@Stability(Stable) public CfnEndpoint.MonitoringConfigurationProperty.Builder cloudWatchMonitoringConfiguration(CfnEndpoint.CloudWatchMonitoringConfigurationProperty cloudWatchMonitoringConfiguration) Sets the value ofCfnEndpoint.MonitoringConfigurationProperty.getCloudWatchMonitoringConfiguration()- Parameters:
cloudWatchMonitoringConfiguration- the value to be set.- Returns:
this
-
containerLogRotationConfiguration
@Stability(Stable) public CfnEndpoint.MonitoringConfigurationProperty.Builder containerLogRotationConfiguration(IResolvable containerLogRotationConfiguration) Sets the value ofCfnEndpoint.MonitoringConfigurationProperty.getContainerLogRotationConfiguration()- Parameters:
containerLogRotationConfiguration- the value to be set.- Returns:
this
-
containerLogRotationConfiguration
@Stability(Stable) public CfnEndpoint.MonitoringConfigurationProperty.Builder containerLogRotationConfiguration(CfnEndpoint.ContainerLogRotationConfigurationProperty containerLogRotationConfiguration) Sets the value ofCfnEndpoint.MonitoringConfigurationProperty.getContainerLogRotationConfiguration()- Parameters:
containerLogRotationConfiguration- the value to be set.- Returns:
this
-
persistentAppUi
@Stability(Stable) public CfnEndpoint.MonitoringConfigurationProperty.Builder persistentAppUi(String persistentAppUi) Sets the value ofCfnEndpoint.MonitoringConfigurationProperty.getPersistentAppUi()- Parameters:
persistentAppUi- the value to be set.- Returns:
this
-
s3MonitoringConfiguration
@Stability(Stable) public CfnEndpoint.MonitoringConfigurationProperty.Builder s3MonitoringConfiguration(IResolvable s3MonitoringConfiguration) - Parameters:
s3MonitoringConfiguration- the value to be set.- Returns:
this
-
s3MonitoringConfiguration
@Stability(Stable) public CfnEndpoint.MonitoringConfigurationProperty.Builder s3MonitoringConfiguration(CfnEndpoint.S3MonitoringConfigurationProperty s3MonitoringConfiguration) - Parameters:
s3MonitoringConfiguration- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpoint.MonitoringConfigurationProperty>- Returns:
- a new instance of
CfnEndpoint.MonitoringConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-