Interface AwsOpenSearchServiceDomainLogPublishingOptionsDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsOpenSearchServiceDomainLogPublishingOptionsDetails.Builder,,AwsOpenSearchServiceDomainLogPublishingOptionsDetails> SdkBuilder<AwsOpenSearchServiceDomainLogPublishingOptionsDetails.Builder,,AwsOpenSearchServiceDomainLogPublishingOptionsDetails> SdkPojo
- Enclosing class:
AwsOpenSearchServiceDomainLogPublishingOptionsDetails
-
Method Summary
Modifier and TypeMethodDescriptionConfigures the OpenSearch audit logs publishing.Configures the OpenSearch audit logs publishing.Configures the OpenSearch index logs publishing.indexSlowLogs(AwsOpenSearchServiceDomainLogPublishingOption indexSlowLogs) Configures the OpenSearch index logs publishing.searchSlowLogs(Consumer<AwsOpenSearchServiceDomainLogPublishingOption.Builder> searchSlowLogs) Configures the OpenSearch search slow log publishing.searchSlowLogs(AwsOpenSearchServiceDomainLogPublishingOption searchSlowLogs) Configures the OpenSearch search slow log publishing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
indexSlowLogs
AwsOpenSearchServiceDomainLogPublishingOptionsDetails.Builder indexSlowLogs(AwsOpenSearchServiceDomainLogPublishingOption 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 AwsOpenSearchServiceDomainLogPublishingOptionsDetails.Builder indexSlowLogs(Consumer<AwsOpenSearchServiceDomainLogPublishingOption.Builder> indexSlowLogs) Configures the OpenSearch index logs publishing.
This is a convenience method that creates an instance of theAwsOpenSearchServiceDomainLogPublishingOption.Builderavoiding the need to create one manually viaAwsOpenSearchServiceDomainLogPublishingOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toindexSlowLogs(AwsOpenSearchServiceDomainLogPublishingOption).- Parameters:
indexSlowLogs- a consumer that will call methods onAwsOpenSearchServiceDomainLogPublishingOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
searchSlowLogs
AwsOpenSearchServiceDomainLogPublishingOptionsDetails.Builder searchSlowLogs(AwsOpenSearchServiceDomainLogPublishingOption 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 AwsOpenSearchServiceDomainLogPublishingOptionsDetails.Builder searchSlowLogs(Consumer<AwsOpenSearchServiceDomainLogPublishingOption.Builder> searchSlowLogs) Configures the OpenSearch search slow log publishing.
This is a convenience method that creates an instance of theAwsOpenSearchServiceDomainLogPublishingOption.Builderavoiding the need to create one manually viaAwsOpenSearchServiceDomainLogPublishingOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchSlowLogs(AwsOpenSearchServiceDomainLogPublishingOption).- Parameters:
searchSlowLogs- a consumer that will call methods onAwsOpenSearchServiceDomainLogPublishingOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
auditLogs
AwsOpenSearchServiceDomainLogPublishingOptionsDetails.Builder auditLogs(AwsOpenSearchServiceDomainLogPublishingOption auditLogs) Configures the OpenSearch audit logs publishing.
- Parameters:
auditLogs- Configures the OpenSearch audit logs publishing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditLogs
default AwsOpenSearchServiceDomainLogPublishingOptionsDetails.Builder auditLogs(Consumer<AwsOpenSearchServiceDomainLogPublishingOption.Builder> auditLogs) Configures the OpenSearch audit logs publishing.
This is a convenience method that creates an instance of theAwsOpenSearchServiceDomainLogPublishingOption.Builderavoiding the need to create one manually viaAwsOpenSearchServiceDomainLogPublishingOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauditLogs(AwsOpenSearchServiceDomainLogPublishingOption).- Parameters:
auditLogs- a consumer that will call methods onAwsOpenSearchServiceDomainLogPublishingOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-