Class CfnTelemetryRule.LabelNameConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.observabilityadmin.CfnTelemetryRule.LabelNameConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTelemetryRule.LabelNameConditionProperty>
- Enclosing interface:
CfnTelemetryRule.LabelNameConditionProperty
@Stability(Stable)
public static final class CfnTelemetryRule.LabelNameConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTelemetryRule.LabelNameConditionProperty>
A builder for
CfnTelemetryRule.LabelNameConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTelemetryRule.LabelNameConditionProperty.getLabelName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
labelName
@Stability(Stable) public CfnTelemetryRule.LabelNameConditionProperty.Builder labelName(String labelName) Sets the value ofCfnTelemetryRule.LabelNameConditionProperty.getLabelName()- Parameters:
labelName- The label name to match, supporting alphanumeric characters, underscores, hyphens, and colons.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTelemetryRule.LabelNameConditionProperty>- Returns:
- a new instance of
CfnTelemetryRule.LabelNameConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-