Interface AwsElasticsearchDomainLogPublishingOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsElasticsearchDomainLogPublishingOptions.Builder,
,AwsElasticsearchDomainLogPublishingOptions> SdkBuilder<AwsElasticsearchDomainLogPublishingOptions.Builder,
,AwsElasticsearchDomainLogPublishingOptions> SdkPojo
- Enclosing class:
AwsElasticsearchDomainLogPublishingOptions
public static interface AwsElasticsearchDomainLogPublishingOptions.Builder
extends SdkPojo, CopyableBuilder<AwsElasticsearchDomainLogPublishingOptions.Builder,AwsElasticsearchDomainLogPublishingOptions>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the AuditLogs property for this object.Sets the value of the AuditLogs property for this object.Configures the OpenSearch index logs publishing.indexSlowLogs
(AwsElasticsearchDomainLogPublishingOptionsLogConfig indexSlowLogs) Configures the OpenSearch index logs publishing.searchSlowLogs
(Consumer<AwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder> searchSlowLogs) Configures the OpenSearch search slow log publishing.searchSlowLogs
(AwsElasticsearchDomainLogPublishingOptionsLogConfig searchSlowLogs) Configures the OpenSearch search slow log publishing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
indexSlowLogs
AwsElasticsearchDomainLogPublishingOptions.Builder indexSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig indexSlowLogs) Configures the OpenSearch index logs publishing.
- Parameters:
indexSlowLogs
- Configures the OpenSearch index logs publishing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexSlowLogs
default AwsElasticsearchDomainLogPublishingOptions.Builder indexSlowLogs(Consumer<AwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder> indexSlowLogs) Configures the OpenSearch index logs publishing.
This is a convenience method that creates an instance of theAwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder
avoiding the need to create one manually viaAwsElasticsearchDomainLogPublishingOptionsLogConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindexSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig)
.- Parameters:
indexSlowLogs
- a consumer that will call methods onAwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchSlowLogs
AwsElasticsearchDomainLogPublishingOptions.Builder searchSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig searchSlowLogs) Configures the OpenSearch search slow log publishing.
- Parameters:
searchSlowLogs
- Configures the OpenSearch search slow log publishing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchSlowLogs
default AwsElasticsearchDomainLogPublishingOptions.Builder searchSlowLogs(Consumer<AwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder> searchSlowLogs) Configures the OpenSearch search slow log publishing.
This is a convenience method that creates an instance of theAwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder
avoiding the need to create one manually viaAwsElasticsearchDomainLogPublishingOptionsLogConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosearchSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig)
.- Parameters:
searchSlowLogs
- a consumer that will call methods onAwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
auditLogs
AwsElasticsearchDomainLogPublishingOptions.Builder auditLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig auditLogs) Sets the value of the AuditLogs property for this object.- Parameters:
auditLogs
- The new value for the AuditLogs property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditLogs
default AwsElasticsearchDomainLogPublishingOptions.Builder auditLogs(Consumer<AwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder> auditLogs) Sets the value of the AuditLogs property for this object. This is a convenience method that creates an instance of theAwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder
avoiding the need to create one manually viaAwsElasticsearchDomainLogPublishingOptionsLogConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauditLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig)
.- Parameters:
auditLogs
- a consumer that will call methods onAwsElasticsearchDomainLogPublishingOptionsLogConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-