public static interface TextLogDestination.Builder extends SdkPojo, CopyableBuilder<TextLogDestination.Builder,TextLogDestination>
| Modifier and Type | Method and Description |
|---|---|
TextLogDestination.Builder |
cloudWatch(CloudWatchLogGroupLogDestination cloudWatch)
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
|
default TextLogDestination.Builder |
cloudWatch(Consumer<CloudWatchLogGroupLogDestination.Builder> cloudWatch)
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTextLogDestination.Builder cloudWatch(CloudWatchLogGroupLogDestination cloudWatch)
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
cloudWatch - Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.default TextLogDestination.Builder cloudWatch(Consumer<CloudWatchLogGroupLogDestination.Builder> cloudWatch)
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
This is a convenience method that creates an instance of theCloudWatchLogGroupLogDestination.Builder
avoiding the need to create one manually via CloudWatchLogGroupLogDestination.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to cloudWatch(CloudWatchLogGroupLogDestination).
cloudWatch - a consumer that will call methods on CloudWatchLogGroupLogDestination.BuildercloudWatch(CloudWatchLogGroupLogDestination)Copyright © 2022. All rights reserved.