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