Class LoggingOptions.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.LoggingOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LoggingOptions>
- Enclosing interface:
LoggingOptions
@Stability(Deprecated)
@Deprecated
public static final class LoggingOptions.Builder
extends Object
implements software.amazon.jsii.Builder<LoggingOptions>
Deprecated.
A builder for
LoggingOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappLogEnabled(Boolean appLogEnabled) Deprecated.use opensearchservice module insteadappLogGroup(ILogGroup appLogGroup) Deprecated.use opensearchservice module insteadauditLogEnabled(Boolean auditLogEnabled) Deprecated.use opensearchservice module insteadauditLogGroup(ILogGroup auditLogGroup) Deprecated.use opensearchservice module insteadbuild()Deprecated.slowIndexLogEnabled(Boolean slowIndexLogEnabled) Deprecated.use opensearchservice module insteadslowIndexLogGroup(ILogGroup slowIndexLogGroup) Deprecated.use opensearchservice module insteadslowSearchLogEnabled(Boolean slowSearchLogEnabled) Deprecated.use opensearchservice module insteadslowSearchLogGroup(ILogGroup slowSearchLogGroup) Deprecated.use opensearchservice module instead
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
appLogEnabled
@Stability(Deprecated) @Deprecated public LoggingOptions.Builder appLogEnabled(Boolean appLogEnabled) Deprecated.use opensearchservice module insteadSets the value ofLoggingOptions.getAppLogEnabled()- Parameters:
appLogEnabled- Specify if Elasticsearch application logging should be set up. Requires Elasticsearch version 5.1 or later.- Returns:
this
-
appLogGroup
Deprecated.use opensearchservice module insteadSets the value ofLoggingOptions.getAppLogGroup()- Parameters:
appLogGroup- Log Elasticsearch application logs to this log group.- Returns:
this
-
auditLogEnabled
@Stability(Deprecated) @Deprecated public LoggingOptions.Builder auditLogEnabled(Boolean auditLogEnabled) Deprecated.use opensearchservice module insteadSets the value ofLoggingOptions.getAuditLogEnabled()- Parameters:
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.- Returns:
this
-
auditLogGroup
@Stability(Deprecated) @Deprecated public LoggingOptions.Builder auditLogGroup(ILogGroup auditLogGroup) Deprecated.use opensearchservice module insteadSets the value ofLoggingOptions.getAuditLogGroup()- Parameters:
auditLogGroup- Log Elasticsearch audit logs to this log group.- Returns:
this
-
slowIndexLogEnabled
@Stability(Deprecated) @Deprecated public LoggingOptions.Builder slowIndexLogEnabled(Boolean slowIndexLogEnabled) Deprecated.use opensearchservice module insteadSets the value ofLoggingOptions.getSlowIndexLogEnabled()- Parameters:
slowIndexLogEnabled- Specify if slow index logging should be set up. Requires Elasticsearch version 5.1 or later.- Returns:
this
-
slowIndexLogGroup
@Stability(Deprecated) @Deprecated public LoggingOptions.Builder slowIndexLogGroup(ILogGroup slowIndexLogGroup) Deprecated.use opensearchservice module insteadSets the value ofLoggingOptions.getSlowIndexLogGroup()- Parameters:
slowIndexLogGroup- Log slow indices to this log group.- Returns:
this
-
slowSearchLogEnabled
@Stability(Deprecated) @Deprecated public LoggingOptions.Builder slowSearchLogEnabled(Boolean slowSearchLogEnabled) Deprecated.use opensearchservice module insteadSets the value ofLoggingOptions.getSlowSearchLogEnabled()- Parameters:
slowSearchLogEnabled- Specify if slow search logging should be set up. Requires Elasticsearch version 5.1 or later.- Returns:
this
-
slowSearchLogGroup
@Stability(Deprecated) @Deprecated public LoggingOptions.Builder slowSearchLogGroup(ILogGroup slowSearchLogGroup) Deprecated.use opensearchservice module insteadSets the value ofLoggingOptions.getSlowSearchLogGroup()- Parameters:
slowSearchLogGroup- Log slow searches to this log group.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LoggingOptions>- Returns:
- a new instance of
LoggingOptions - Throws:
NullPointerException- if any required attribute was not provided
-