@Stability(value=Experimental) public static final class LoggingOptions.Builder extends Object implements software.amazon.jsii.Builder<LoggingOptions>
LoggingOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LoggingOptions.Builder |
appLogEnabled(Boolean appLogEnabled)
Sets the value of
LoggingOptions.getAppLogEnabled() |
LoggingOptions.Builder |
appLogGroup(ILogGroup appLogGroup)
Sets the value of
LoggingOptions.getAppLogGroup() |
LoggingOptions |
build()
Builds the configured instance.
|
LoggingOptions.Builder |
slowIndexLogEnabled(Boolean slowIndexLogEnabled)
Sets the value of
LoggingOptions.getSlowIndexLogEnabled() |
LoggingOptions.Builder |
slowIndexLogGroup(ILogGroup slowIndexLogGroup)
Sets the value of
LoggingOptions.getSlowIndexLogGroup() |
LoggingOptions.Builder |
slowSearchLogEnabled(Boolean slowSearchLogEnabled)
Sets the value of
LoggingOptions.getSlowSearchLogEnabled() |
LoggingOptions.Builder |
slowSearchLogGroup(ILogGroup slowSearchLogGroup)
Sets the value of
LoggingOptions.getSlowSearchLogGroup() |
@Stability(value=Experimental) public LoggingOptions.Builder appLogEnabled(Boolean appLogEnabled)
LoggingOptions.getAppLogEnabled()appLogEnabled - Specify if Elasticsearch application logging should be set up.
Requires Elasticsearch version 5.1 or later.this@Stability(value=Experimental) public LoggingOptions.Builder appLogGroup(ILogGroup appLogGroup)
LoggingOptions.getAppLogGroup()appLogGroup - Log Elasticsearch application logs to this log group.this@Stability(value=Experimental) public LoggingOptions.Builder slowIndexLogEnabled(Boolean slowIndexLogEnabled)
LoggingOptions.getSlowIndexLogEnabled()slowIndexLogEnabled - Specify if slow index logging should be set up.
Requires Elasticsearch version 5.1 or later.this@Stability(value=Experimental) public LoggingOptions.Builder slowIndexLogGroup(ILogGroup slowIndexLogGroup)
LoggingOptions.getSlowIndexLogGroup()slowIndexLogGroup - Log slow indices to this log group.this@Stability(value=Experimental) public LoggingOptions.Builder slowSearchLogEnabled(Boolean slowSearchLogEnabled)
LoggingOptions.getSlowSearchLogEnabled()slowSearchLogEnabled - Specify if slow search logging should be set up.
Requires Elasticsearch version 5.1 or later.this@Stability(value=Experimental) public LoggingOptions.Builder slowSearchLogGroup(ILogGroup slowSearchLogGroup)
LoggingOptions.getSlowSearchLogGroup()slowSearchLogGroup - Log slow searches to this log group.this@Stability(value=Experimental) public LoggingOptions build()
build in interface software.amazon.jsii.Builder<LoggingOptions>LoggingOptionsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.