Interface ScraperLoggingDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScraperLoggingDestination.Builder,,ScraperLoggingDestination> SdkBuilder<ScraperLoggingDestination.Builder,,ScraperLoggingDestination> SdkPojo
- Enclosing class:
ScraperLoggingDestination
@Mutable
@NotThreadSafe
public static interface ScraperLoggingDestination.Builder
extends SdkPojo, CopyableBuilder<ScraperLoggingDestination.Builder,ScraperLoggingDestination>
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLogs(Consumer<CloudWatchLogDestination.Builder> cloudWatchLogs) The CloudWatch Logs configuration for the scraper logging destination.cloudWatchLogs(CloudWatchLogDestination cloudWatchLogs) The CloudWatch Logs configuration for the scraper logging destination.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, sdkFieldNameToField, sdkFields
-
Method Details
-
cloudWatchLogs
The CloudWatch Logs configuration for the scraper logging destination.
- Parameters:
cloudWatchLogs- The CloudWatch Logs configuration for the scraper logging destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
default ScraperLoggingDestination.Builder cloudWatchLogs(Consumer<CloudWatchLogDestination.Builder> cloudWatchLogs) The CloudWatch Logs configuration for the scraper logging destination.
This is a convenience method that creates an instance of theCloudWatchLogDestination.Builderavoiding the need to create one manually viaCloudWatchLogDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLogs(CloudWatchLogDestination).- Parameters:
cloudWatchLogs- a consumer that will call methods onCloudWatchLogDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-