Class JsiiObjectRef

java.lang.Object
software.amazon.jsii.JsiiObjectRef

@Internal public final class JsiiObjectRef extends Object
Represents a remote jsii object reference.
  • Method Details

    • parse

      public static JsiiObjectRef parse(com.fasterxml.jackson.databind.JsonNode objRef)
      Creates an object reference.
      Parameters:
      objRef - The object reference.
      Returns:
      A JsiiObjectRef object.
    • fromObjId

      public static JsiiObjectRef fromObjId(String objId)
      Creates an object ref from an object ID.
      Parameters:
      objId - Object ID.
      Returns:
      The new object ref.
    • getFqn

      public String getFqn()
      Returns:
      The jsii FQN (fully qualified name) of the object's type.
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
      Returns:
      The JSON node for this objref.
    • getObjId

      public String getObjId()
      Returns:
      The object ID.
    • getInterfaces

      public Set<String> getInterfaces()
      Returns:
      the lsit of interfaces implemented by the object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object