@Stability(value=Experimental) public static final class ContinuousLoggingProps.Builder extends Object implements software.amazon.jsii.Builder<ContinuousLoggingProps>
ContinuousLoggingProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ContinuousLoggingProps |
build()
Builds the configured instance.
|
ContinuousLoggingProps.Builder |
conversionPattern(String conversionPattern)
Sets the value of
ContinuousLoggingProps.getConversionPattern() |
ContinuousLoggingProps.Builder |
enabled(Boolean enabled)
Sets the value of
ContinuousLoggingProps.getEnabled() |
ContinuousLoggingProps.Builder |
logGroup(ILogGroup logGroup)
Sets the value of
ContinuousLoggingProps.getLogGroup() |
ContinuousLoggingProps.Builder |
logStreamPrefix(String logStreamPrefix)
Sets the value of
ContinuousLoggingProps.getLogStreamPrefix() |
ContinuousLoggingProps.Builder |
quiet(Boolean quiet)
Sets the value of
ContinuousLoggingProps.getQuiet() |
@Stability(value=Experimental) public ContinuousLoggingProps.Builder enabled(Boolean enabled)
ContinuousLoggingProps.getEnabled()enabled - Enable continouous logging. This parameter is required.this@Stability(value=Experimental) public ContinuousLoggingProps.Builder conversionPattern(String conversionPattern)
ContinuousLoggingProps.getConversionPattern()conversionPattern - Apply the provided conversion pattern.
This is a Log4j Conversion Pattern to customize driver and executor logs.this@Stability(value=Experimental) public ContinuousLoggingProps.Builder logGroup(ILogGroup logGroup)
ContinuousLoggingProps.getLogGroup()logGroup - Specify a custom CloudWatch log group name.this@Stability(value=Experimental) public ContinuousLoggingProps.Builder logStreamPrefix(String logStreamPrefix)
ContinuousLoggingProps.getLogStreamPrefix()logStreamPrefix - Specify a custom CloudWatch log stream prefix.this@Stability(value=Experimental) public ContinuousLoggingProps.Builder quiet(Boolean quiet)
ContinuousLoggingProps.getQuiet()quiet - Filter out non-useful Apache Spark driver/executor and Apache Hadoop YARN heartbeat log messages.this@Stability(value=Experimental) public ContinuousLoggingProps build()
build in interface software.amazon.jsii.Builder<ContinuousLoggingProps>ContinuousLoggingPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.