Class CfnScraper.ScraperComponentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnScraper.ScraperComponentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScraper.ScraperComponentProperty>
- Enclosing interface:
CfnScraper.ScraperComponentProperty
@Stability(Stable)
public static final class CfnScraper.ScraperComponentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScraper.ScraperComponentProperty>
A builder for
CfnScraper.ScraperComponentProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.config
(IResolvable config) Sets the value ofCfnScraper.ScraperComponentProperty.getConfig()
Sets the value ofCfnScraper.ScraperComponentProperty.getConfig()
Sets the value ofCfnScraper.ScraperComponentProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnScraper.ScraperComponentProperty.getType()
- Parameters:
type
- The type of the scraper component. This parameter is required.- Returns:
this
-
config
Sets the value ofCfnScraper.ScraperComponentProperty.getConfig()
- Parameters:
config
- The configuration settings for the scraper component.- Returns:
this
-
config
@Stability(Stable) public CfnScraper.ScraperComponentProperty.Builder config(CfnScraper.ComponentConfigProperty config) Sets the value ofCfnScraper.ScraperComponentProperty.getConfig()
- Parameters:
config
- The configuration settings for the scraper component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnScraper.ScraperComponentProperty>
- Returns:
- a new instance of
CfnScraper.ScraperComponentProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-