Package org.cdk8s

Class ResolutionContext

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.106.0 (build e852934)",
               date="2025-01-09T12:32:36.930Z")
    @Stability(Stable)
    public class ResolutionContext
    extends software.amazon.jsii.JsiiObject
    Context object for a specific resolution process.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Detail

      • ResolutionContext

        protected ResolutionContext​(software.amazon.jsii.JsiiObjectRef objRef)
      • ResolutionContext

        protected ResolutionContext​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • ResolutionContext

        @Stability(Stable)
        public ResolutionContext​(@NotNull
                                 ApiObject obj,
                                 @NotNull
                                 List<String> key,
                                 @NotNull
                                 Object value)
        Parameters:
        obj - Which ApiObject is currently being resolved. This parameter is required.
        key - Which key is currently being resolved. This parameter is required.
        value - The value associated to the key currently being resolved. This parameter is required.
    • Method Detail

      • replaceValue

        @Stability(Stable)
        public void replaceValue​(@NotNull
                                 Object newValue)
        Replaces the original value in this resolution context with a new value.

        The new value is what will end up in the manifest.

        Parameters:
        newValue - This parameter is required.
      • getKey

        @Stability(Stable)
        @NotNull
        public List<String> getKey()
        Which key is currently being resolved.
      • getObj

        @Stability(Stable)
        @NotNull
        public ApiObject getObj()
        Which ApiObject is currently being resolved.
      • getValue

        @Stability(Stable)
        @NotNull
        public Object getValue()
        The value associated to the key currently being resolved.
      • getReplaced

        @Stability(Stable)
        @NotNull
        public Boolean getReplaced()
        Whether or not the value was replaced by invoking the replaceValue method.
      • setReplaced

        @Stability(Stable)
        public void setReplaced​(@NotNull
                                Boolean value)
        Whether or not the value was replaced by invoking the replaceValue method.
      • getReplacedValue

        @Stability(Stable)
        @NotNull
        public Object getReplacedValue()
        The replaced value that was set via the replaceValue method.
      • setReplacedValue

        @Stability(Stable)
        public void setReplacedValue​(@NotNull
                                     Object value)
        The replaced value that was set via the replaceValue method.