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
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaAwsElasticsearchDomainLogPublishingOptionsLogConfig.builder().When the
Consumercompletes,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:
indexSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig)
-
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.Builderavoiding the need to create one manually viaAwsElasticsearchDomainLogPublishingOptionsLogConfig.builder().When the
Consumercompletes,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:
searchSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig)
-
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.Builderavoiding the need to create one manually viaAwsElasticsearchDomainLogPublishingOptionsLogConfig.builder().When the
Consumercompletes,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:
auditLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig)
-
-