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