Class CfnScraper.ScraperLoggingDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnScraper.ScraperLoggingDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScraper.ScraperLoggingDestinationProperty>
- Enclosing interface:
CfnScraper.ScraperLoggingDestinationProperty
@Stability(Stable)
public static final class CfnScraper.ScraperLoggingDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScraper.ScraperLoggingDestinationProperty>
A builder for
CfnScraper.ScraperLoggingDestinationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatchLogs
(IResolvable cloudWatchLogs) Sets the value ofCfnScraper.ScraperLoggingDestinationProperty.getCloudWatchLogs()
cloudWatchLogs
(CfnScraper.CloudWatchLogDestinationProperty cloudWatchLogs) Sets the value ofCfnScraper.ScraperLoggingDestinationProperty.getCloudWatchLogs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogs
@Stability(Stable) public CfnScraper.ScraperLoggingDestinationProperty.Builder cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnScraper.ScraperLoggingDestinationProperty.getCloudWatchLogs()
- Parameters:
cloudWatchLogs
- The CloudWatch Logs configuration for the scraper logging destination.- Returns:
this
-
cloudWatchLogs
@Stability(Stable) public CfnScraper.ScraperLoggingDestinationProperty.Builder cloudWatchLogs(CfnScraper.CloudWatchLogDestinationProperty cloudWatchLogs) Sets the value ofCfnScraper.ScraperLoggingDestinationProperty.getCloudWatchLogs()
- Parameters:
cloudWatchLogs
- The CloudWatch Logs configuration for the scraper logging destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnScraper.ScraperLoggingDestinationProperty>
- Returns:
- a new instance of
CfnScraper.ScraperLoggingDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-