Class CfnScraper.CloudWatchConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnScraper.CloudWatchConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScraper.CloudWatchConfigurationProperty>
- Enclosing interface:
CfnScraper.CloudWatchConfigurationProperty
@Stability(Stable)
public static final class CfnScraper.CloudWatchConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScraper.CloudWatchConfigurationProperty>
A builder for
CfnScraper.CloudWatchConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetArn(String datasetArn) Sets the value ofCfnScraper.CloudWatchConfigurationProperty.getDatasetArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetArn
@Stability(Stable) public CfnScraper.CloudWatchConfigurationProperty.Builder datasetArn(String datasetArn) Sets the value ofCfnScraper.CloudWatchConfigurationProperty.getDatasetArn()- Parameters:
datasetArn- ARN of a CloudWatch dataset. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScraper.CloudWatchConfigurationProperty>- Returns:
- a new instance of
CfnScraper.CloudWatchConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-