Class CfnWorkspacePropsMixin.LimitsPerLabelSetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aps.CfnWorkspacePropsMixin.LimitsPerLabelSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.LimitsPerLabelSetProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.LimitsPerLabelSetProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.LimitsPerLabelSetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.LimitsPerLabelSetProperty>
A builder for
CfnWorkspacePropsMixin.LimitsPerLabelSetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetProperty.getLabelSet()labelSet(IResolvable labelSet) Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetProperty.getLabelSet()Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetProperty.getLimits()limits(IResolvable limits) Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetProperty.getLimits()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
labelSet
@Stability(Stable) public CfnWorkspacePropsMixin.LimitsPerLabelSetProperty.Builder labelSet(IResolvable labelSet) Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetProperty.getLabelSet()- Parameters:
labelSet- This defines one label set that will have an enforced ingestion limit. You can set ingestion limits on time series that match defined label sets, to help prevent a workspace from being overwhelmed with unexpected spikes in time series ingestion.Label values accept all UTF-8 characters with one exception. If the label name is metric name label
__ *name* __, then the metric part of the name must conform to the following pattern:[a-zA-Z_:][a-zA-Z0-9_:]*- Returns:
this
-
labelSet
@Stability(Stable) public CfnWorkspacePropsMixin.LimitsPerLabelSetProperty.Builder labelSet(List<? extends Object> labelSet) Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetProperty.getLabelSet()- Parameters:
labelSet- This defines one label set that will have an enforced ingestion limit. You can set ingestion limits on time series that match defined label sets, to help prevent a workspace from being overwhelmed with unexpected spikes in time series ingestion.Label values accept all UTF-8 characters with one exception. If the label name is metric name label
__ *name* __, then the metric part of the name must conform to the following pattern:[a-zA-Z_:][a-zA-Z0-9_:]*- Returns:
this
-
limits
@Stability(Stable) public CfnWorkspacePropsMixin.LimitsPerLabelSetProperty.Builder limits(IResolvable limits) Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetProperty.getLimits()- Parameters:
limits- This structure contains the information about the limits that apply to time series that match this label set.- Returns:
this
-
limits
@Stability(Stable) public CfnWorkspacePropsMixin.LimitsPerLabelSetProperty.Builder limits(CfnWorkspacePropsMixin.LimitsPerLabelSetEntryProperty limits) Sets the value ofCfnWorkspacePropsMixin.LimitsPerLabelSetProperty.getLimits()- Parameters:
limits- This structure contains the information about the limits that apply to time series that match this label set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.LimitsPerLabelSetProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.LimitsPerLabelSetProperty - Throws:
NullPointerException- if any required attribute was not provided
-