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