Class CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.emrserverless.mixins.CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty>
- Enclosing interface:
CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled) encryptionKeyArn(String encryptionKeyArn) logGroupName(String logGroupName) logStreamNamePrefix(String logStreamNamePrefix) logTypeMap(List<? extends Object> logTypeMap) logTypeMap(IResolvable logTypeMap)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- Enables CloudWatch logging.- Returns:
this
-
enabled
@Stability(Stable) public CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- Enables CloudWatch logging.- Returns:
this
-
encryptionKeyArn
@Stability(Stable) public CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.getEncryptionKeyArn()- Parameters:
encryptionKeyArn- The AWS Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.- Returns:
this
-
logGroupName
@Stability(Stable) public CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder logGroupName(String logGroupName) - Parameters:
logGroupName- The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.- Returns:
this
-
logStreamNamePrefix
@Stability(Stable) public CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder logStreamNamePrefix(String logStreamNamePrefix) Sets the value ofCfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.getLogStreamNamePrefix()- Parameters:
logStreamNamePrefix- Prefix for the CloudWatch log stream name.- Returns:
this
-
logTypeMap
@Stability(Stable) public CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder logTypeMap(IResolvable logTypeMap) - Parameters:
logTypeMap- The specific log-streams which need to be uploaded to CloudWatch.- Returns:
this
-
logTypeMap
@Stability(Stable) public CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty.Builder logTypeMap(List<? extends Object> logTypeMap) - Parameters:
logTypeMap- The specific log-streams which need to be uploaded to CloudWatch.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.CloudWatchLoggingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-