Interface FeatureFlag
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FeatureFlag.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-01T13:14:58.351Z")
@Stability(Stable)
public interface FeatureFlag
extends software.amazon.jsii.JsiiSerializable
A single feature flag.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.cloud_assembly_schema.*; Object recommendedValue; Object userValue; FeatureFlag featureFlag = FeatureFlag.builder() .explanation("explanation") .recommendedValue(recommendedValue) .userValue(userValue) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forFeatureFlag
static final class
An implementation forFeatureFlag
-
Method Summary
Modifier and TypeMethodDescriptionstatic FeatureFlag.Builder
builder()
default String
Explanation about the purpose of this flag that can be shown to the user.default Object
The library-recommended value for this flag, if any.default Object
The value configured by the user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExplanation
Explanation about the purpose of this flag that can be shown to the user.Default: - No description
-
getRecommendedValue
The library-recommended value for this flag, if any.It is possible that there is no recommended value.
Default: - No recommended value.
-
getUserValue
The value configured by the user.This is the value configured at the root of the tree. Users may also have configured values at specific locations in the tree; we don't report on those.
Default: - Not configured by the user
-
builder
- Returns:
- a
FeatureFlag.Builder
ofFeatureFlag
-