Package org.cdk8s
Class ResolutionContext
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.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.
-
-
Constructor Summary
Constructors Modifier Constructor Description ResolutionContext(ApiObject obj, List<String> key, Object value)
protected
ResolutionContext(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
ResolutionContext(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getKey()
Which key is currently being resolved.ApiObject
getObj()
Which ApiObject is currently being resolved.Boolean
getReplaced()
Whether or not the value was replaced by invoking thereplaceValue
method.Object
getReplacedValue()
The replaced value that was set via thereplaceValue
method.Object
getValue()
The value associated to the key currently being resolved.void
replaceValue(Object newValue)
Replaces the original value in this resolution context with a new value.void
setReplaced(Boolean value)
Whether or not the value was replaced by invoking thereplaceValue
method.void
setReplacedValue(Object value)
The replaced value that was set via thereplaceValue
method.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
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 thereplaceValue
method.
-
setReplaced
@Stability(Stable) public void setReplaced(@NotNull Boolean value)
Whether or not the value was replaced by invoking thereplaceValue
method.
-
getReplacedValue
@Stability(Stable) @NotNull public Object getReplacedValue()
The replaced value that was set via thereplaceValue
method.
-
setReplacedValue
@Stability(Stable) public void setReplacedValue(@NotNull Object value)
The replaced value that was set via thereplaceValue
method.
-
-