Class CfnWorkspace.LimitsPerLabelSetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.aps.CfnWorkspace.LimitsPerLabelSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace.LimitsPerLabelSetProperty>
- Enclosing interface:
CfnWorkspace.LimitsPerLabelSetProperty
@Stability(Stable)
public static final class CfnWorkspace.LimitsPerLabelSetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace.LimitsPerLabelSetProperty>
A builder for
CfnWorkspace.LimitsPerLabelSetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspace.LimitsPerLabelSetProperty.getLabelSet()labelSet(IResolvable labelSet) Sets the value ofCfnWorkspace.LimitsPerLabelSetProperty.getLabelSet()limits(IResolvable limits) Sets the value ofCfnWorkspace.LimitsPerLabelSetProperty.getLimits()Sets the value ofCfnWorkspace.LimitsPerLabelSetProperty.getLimits()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
labelSet
@Stability(Stable) public CfnWorkspace.LimitsPerLabelSetProperty.Builder labelSet(IResolvable labelSet) Sets the value ofCfnWorkspace.LimitsPerLabelSetProperty.getLabelSet()- Parameters:
labelSet- An array of series labels. This parameter is required.- Returns:
this
-
labelSet
@Stability(Stable) public CfnWorkspace.LimitsPerLabelSetProperty.Builder labelSet(List<? extends Object> labelSet) Sets the value ofCfnWorkspace.LimitsPerLabelSetProperty.getLabelSet()- Parameters:
labelSet- An array of series labels. This parameter is required.- Returns:
this
-
limits
Sets the value ofCfnWorkspace.LimitsPerLabelSetProperty.getLimits()- Parameters:
limits- Limits that can be applied to a label set. This parameter is required.- Returns:
this
-
limits
@Stability(Stable) public CfnWorkspace.LimitsPerLabelSetProperty.Builder limits(CfnWorkspace.LimitsPerLabelSetEntryProperty limits) Sets the value ofCfnWorkspace.LimitsPerLabelSetProperty.getLimits()- Parameters:
limits- Limits that can be applied to a label set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspace.LimitsPerLabelSetProperty>- Returns:
- a new instance of
CfnWorkspace.LimitsPerLabelSetProperty - Throws:
NullPointerException- if any required attribute was not provided
-