Class CfnWorkspace.WorkspaceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnWorkspace.WorkspaceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace.WorkspaceConfigurationProperty>
- Enclosing interface:
CfnWorkspace.WorkspaceConfigurationProperty
@Stability(Stable)
public static final class CfnWorkspace.WorkspaceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace.WorkspaceConfigurationProperty>
A builder for
CfnWorkspace.WorkspaceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.limitsPerLabelSets(List<? extends Object> limitsPerLabelSets) Sets the value ofCfnWorkspace.WorkspaceConfigurationProperty.getLimitsPerLabelSets()limitsPerLabelSets(IResolvable limitsPerLabelSets) Sets the value ofCfnWorkspace.WorkspaceConfigurationProperty.getLimitsPerLabelSets()retentionPeriodInDays(Number retentionPeriodInDays) Sets the value ofCfnWorkspace.WorkspaceConfigurationProperty.getRetentionPeriodInDays()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
limitsPerLabelSets
@Stability(Stable) public CfnWorkspace.WorkspaceConfigurationProperty.Builder limitsPerLabelSets(IResolvable limitsPerLabelSets) Sets the value ofCfnWorkspace.WorkspaceConfigurationProperty.getLimitsPerLabelSets()- 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 CfnWorkspace.WorkspaceConfigurationProperty.Builder limitsPerLabelSets(List<? extends Object> limitsPerLabelSets) Sets the value ofCfnWorkspace.WorkspaceConfigurationProperty.getLimitsPerLabelSets()- 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 CfnWorkspace.WorkspaceConfigurationProperty.Builder retentionPeriodInDays(Number retentionPeriodInDays) Sets the value ofCfnWorkspace.WorkspaceConfigurationProperty.getRetentionPeriodInDays()- 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<CfnWorkspace.WorkspaceConfigurationProperty>- Returns:
- a new instance of
CfnWorkspace.WorkspaceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-