@Stability(value=Stable) public static final class LoggingOptions.Builder extends Object implements software.amazon.jsii.Builder<LoggingOptions>
LoggingOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) 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=Stable) public LoggingOptions.Builder appLogGroup(ILogGroup appLogGroup)
LoggingOptions.getAppLogGroup()appLogGroup - Log Elasticsearch application logs to this log group.this@Stability(value=Stable) public LoggingOptions.Builder auditLogEnabled(Boolean auditLogEnabled)
LoggingOptions.getAuditLogEnabled()auditLogEnabled - Specify if Elasticsearch audit logging should be set up.
Requires Elasticsearch version 6.7 or later and fine grained access control to be enabled.this@Stability(value=Stable) public LoggingOptions.Builder auditLogGroup(ILogGroup auditLogGroup)
LoggingOptions.getAuditLogGroup()auditLogGroup - Log Elasticsearch audit logs to this log group.this@Stability(value=Stable) 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=Stable) public LoggingOptions.Builder slowIndexLogGroup(ILogGroup slowIndexLogGroup)
LoggingOptions.getSlowIndexLogGroup()slowIndexLogGroup - Log slow indices to this log group.this@Stability(value=Stable) 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=Stable) public LoggingOptions.Builder slowSearchLogGroup(ILogGroup slowSearchLogGroup)
LoggingOptions.getSlowSearchLogGroup()slowSearchLogGroup - Log slow searches to this log group.this@Stability(value=Stable) public LoggingOptions build()
build in interface software.amazon.jsii.Builder<LoggingOptions>LoggingOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.