Class CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aps.CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty>
A builder for
CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty.getMaxSeries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxSeries
@Stability(Stable) public CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty.Builder maxSeries(Number maxSeries) Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty.getMaxSeries()- Parameters:
maxSeries- The maximum number of active series that can be ingested that match this label set. Setting this to 0 causes no label set limit to be enforced, but it does cause Amazon Managed Service for Prometheus to vend label set metrics to CloudWatch- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty - Throws:
NullPointerException- if any required attribute was not provided
-