Class FeatureFlag.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.amazon.awscdk.cloudassembly.schema.FeatureFlag.Jsii$Proxy
-
- All Implemented Interfaces:
FeatureFlag,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- FeatureFlag
@Stability(Stable) @Internal public static final class FeatureFlag.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FeatureFlag
An implementation forFeatureFlag
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.amazon.awscdk.cloudassembly.schema.FeatureFlag
FeatureFlag.Builder, FeatureFlag.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(FeatureFlag.Builder builder)Constructor that initializes the object based on literal property values passed by theFeatureFlag.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetExplanation()Explanation about the purpose of this flag that can be shown to the user.ObjectgetRecommendedValue()The library-recommended value for this flag, if any.UnconfiguredBehavesLikegetUnconfiguredBehavesLike()The value of the flag that produces the same behavior as when the flag is not configured at all.ObjectgetUserValue()The value configured by the user.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(FeatureFlag.Builder builder)
Constructor that initializes the object based on literal property values passed by theFeatureFlag.Builder.
-
-
Method Detail
-
getExplanation
public final String getExplanation()
Description copied from interface:FeatureFlagExplanation about the purpose of this flag that can be shown to the user.Default: - No description
- Specified by:
getExplanationin interfaceFeatureFlag
-
getRecommendedValue
public final Object getRecommendedValue()
Description copied from interface:FeatureFlagThe library-recommended value for this flag, if any.It is possible that there is no recommended value.
Default: - No recommended value.
- Specified by:
getRecommendedValuein interfaceFeatureFlag
-
getUnconfiguredBehavesLike
public final UnconfiguredBehavesLike getUnconfiguredBehavesLike()
Description copied from interface:FeatureFlagThe value of the flag that produces the same behavior as when the flag is not configured at all.The structure of this field is a historical accident. The type of this field should have been boolean, which should have contained the default value for the flag appropriate for the current version of the CDK library. We are not rectifying this accident because doing so
Instead, the canonical way to access this value is by evaluating
unconfiguredBehavesLike?.v2 ?? false.Default: false
- Specified by:
getUnconfiguredBehavesLikein interfaceFeatureFlag
-
getUserValue
public final Object getUserValue()
Description copied from interface:FeatureFlagThe 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
- Specified by:
getUserValuein interfaceFeatureFlag
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-