Class CfnScraper.ScraperLoggingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnScraper.ScraperLoggingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScraper.ScraperLoggingConfigurationProperty>
- Enclosing interface:
CfnScraper.ScraperLoggingConfigurationProperty
@Stability(Stable)
public static final class CfnScraper.ScraperLoggingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScraper.ScraperLoggingConfigurationProperty>
A builder for
CfnScraper.ScraperLoggingConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.loggingDestination
(IResolvable loggingDestination) Sets the value ofCfnScraper.ScraperLoggingConfigurationProperty.getLoggingDestination()
loggingDestination
(CfnScraper.ScraperLoggingDestinationProperty loggingDestination) Sets the value ofCfnScraper.ScraperLoggingConfigurationProperty.getLoggingDestination()
scraperComponents
(List<? extends Object> scraperComponents) Sets the value ofCfnScraper.ScraperLoggingConfigurationProperty.getScraperComponents()
scraperComponents
(IResolvable scraperComponents) Sets the value ofCfnScraper.ScraperLoggingConfigurationProperty.getScraperComponents()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loggingDestination
@Stability(Stable) public CfnScraper.ScraperLoggingConfigurationProperty.Builder loggingDestination(IResolvable loggingDestination) Sets the value ofCfnScraper.ScraperLoggingConfigurationProperty.getLoggingDestination()
- Parameters:
loggingDestination
- Destination for scraper logging. This parameter is required.- Returns:
this
-
loggingDestination
@Stability(Stable) public CfnScraper.ScraperLoggingConfigurationProperty.Builder loggingDestination(CfnScraper.ScraperLoggingDestinationProperty loggingDestination) Sets the value ofCfnScraper.ScraperLoggingConfigurationProperty.getLoggingDestination()
- Parameters:
loggingDestination
- Destination for scraper logging. This parameter is required.- Returns:
this
-
scraperComponents
@Stability(Stable) public CfnScraper.ScraperLoggingConfigurationProperty.Builder scraperComponents(IResolvable scraperComponents) Sets the value ofCfnScraper.ScraperLoggingConfigurationProperty.getScraperComponents()
- Parameters:
scraperComponents
- the value to be set. This parameter is required.- Returns:
this
-
scraperComponents
@Stability(Stable) public CfnScraper.ScraperLoggingConfigurationProperty.Builder scraperComponents(List<? extends Object> scraperComponents) Sets the value ofCfnScraper.ScraperLoggingConfigurationProperty.getScraperComponents()
- Parameters:
scraperComponents
- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnScraper.ScraperLoggingConfigurationProperty>
- Returns:
- a new instance of
CfnScraper.ScraperLoggingConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-