Class CfnWorkspacePropsMixin.WorkspaceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aps.CfnWorkspacePropsMixin.WorkspaceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.WorkspaceConfigurationProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.WorkspaceConfigurationProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.WorkspaceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.WorkspaceConfigurationProperty>
A builder for
CfnWorkspacePropsMixin.WorkspaceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.limitsPerLabelSets(List<? extends Object> limitsPerLabelSets) limitsPerLabelSets(IResolvable limitsPerLabelSets) retentionPeriodInDays(Number retentionPeriodInDays)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
limitsPerLabelSets
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspaceConfigurationProperty.Builder limitsPerLabelSets(IResolvable limitsPerLabelSets) - Parameters:
limitsPerLabelSets- This is an array of structures, where each structure defines a label set for the workspace, and defines the ingestion limit for active time series for each of those label sets. Each label name in a label set must be unique.- Returns:
this
-
limitsPerLabelSets
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspaceConfigurationProperty.Builder limitsPerLabelSets(List<? extends Object> limitsPerLabelSets) - Parameters:
limitsPerLabelSets- This is an array of structures, where each structure defines a label set for the workspace, and defines the ingestion limit for active time series for each of those label sets. Each label name in a label set must be unique.- Returns:
this
-
retentionPeriodInDays
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspaceConfigurationProperty.Builder retentionPeriodInDays(Number retentionPeriodInDays) - Parameters:
retentionPeriodInDays- Specifies how many days that metrics will be retained in the workspace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.WorkspaceConfigurationProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.WorkspaceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-