public static interface LogPublishingOptions.Builder extends SdkPojo, CopyableBuilder<LogPublishingOptions.Builder,LogPublishingOptions>
| Modifier and Type | Method and Description |
|---|---|
LogPublishingOptions.Builder |
cloudWatchLogDestination(CloudWatchLogDestination cloudWatchLogDestination)
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs.
|
default LogPublishingOptions.Builder |
cloudWatchLogDestination(Consumer<CloudWatchLogDestination.Builder> cloudWatchLogDestination)
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs.
|
LogPublishingOptions.Builder |
isLoggingEnabled(Boolean isLoggingEnabled)
Whether logs should be published.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLogPublishingOptions.Builder isLoggingEnabled(Boolean isLoggingEnabled)
Whether logs should be published.
isLoggingEnabled - Whether logs should be published.LogPublishingOptions.Builder cloudWatchLogDestination(CloudWatchLogDestination cloudWatchLogDestination)
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if
IsLoggingEnabled is set to true.
cloudWatchLogDestination - The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is
required if IsLoggingEnabled is set to true.default LogPublishingOptions.Builder cloudWatchLogDestination(Consumer<CloudWatchLogDestination.Builder> cloudWatchLogDestination)
The destination for OpenSearch Ingestion logs sent to Amazon CloudWatch Logs. This parameter is required if
IsLoggingEnabled is set to true.
CloudWatchLogDestination.Builder
avoiding the need to create one manually via CloudWatchLogDestination.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to cloudWatchLogDestination(CloudWatchLogDestination).
cloudWatchLogDestination - a consumer that will call methods on CloudWatchLogDestination.BuildercloudWatchLogDestination(CloudWatchLogDestination)Copyright © 2023. All rights reserved.