Class CfnApplication.ManagedPersistenceMonitoringConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.ManagedPersistenceMonitoringConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.ManagedPersistenceMonitoringConfigurationProperty>
- Enclosing interface:
CfnApplication.ManagedPersistenceMonitoringConfigurationProperty
@Stability(Stable)
public static final class CfnApplication.ManagedPersistenceMonitoringConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ManagedPersistenceMonitoringConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enabled
(IResolvable enabled) encryptionKeyArn
(String encryptionKeyArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnApplication.ManagedPersistenceMonitoringConfigurationProperty.Builder enabled(Boolean enabled) - Parameters:
enabled
- Enables managed logging and defaults to true. If set to false, managed logging will be turned off.- Returns:
this
-
enabled
@Stability(Stable) public CfnApplication.ManagedPersistenceMonitoringConfigurationProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled
- Enables managed logging and defaults to true. If set to false, managed logging will be turned off.- Returns:
this
-
encryptionKeyArn
@Stability(Stable) public CfnApplication.ManagedPersistenceMonitoringConfigurationProperty.Builder encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnApplication.ManagedPersistenceMonitoringConfigurationProperty.getEncryptionKeyArn()
- Parameters:
encryptionKeyArn
- The KMS key ARN to encrypt the logs stored in managed log persistence.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.ManagedPersistenceMonitoringConfigurationProperty>
- Returns:
- a new instance of
CfnApplication.ManagedPersistenceMonitoringConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-