Enum RelationshipUpdateModes

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ALL

      If CollectResult.updateRelationships is ALL, all relationships between objects are returned. This mode will remove any currently-existing relationships in VMware Aria Operations that are not present in the Result.

      NONE

      If CollectResult.updateRelationships is NONE, no relationships will be returned, even if there are relationships between objects in the Result. All currently-existing relationships in VMware Aria Operations will be preserved.

      AUTO

      If CollectResult.updateRelationships is AUTO (or not explicitly set), then the mode will behave like 'ALL' if any object in the Result has at least one relationship, otherwise the mode will behave like 'NONE' if no objects have any relationships in the Result. This default behavior makes it easy to skip collecting all relationships for a collection without overwriting previously-collected relationships, e.g., for performance reasons.

      PER_OBJECT

      If CollectResult.updateRelationships is PER_OBJECT, then only objects with updated relationships will be returned. This is similar to 'AUTO' except that if an object's child relationships have not been updated/set (by calling 'add_child' or 'add_children'), existing child relationships in VMware Aria Operations will be preserved. This means that to remove all relationships from an Object (without setting any new relationships), the adapter must call Object.addChildren on the object with an empty collection of children. This mode is useful for updating a subset of objects' relationships in a collection, but requires more care to ensure relationships are removed when appropriate.

    • Method Summary

      Modifier and Type Method Description
      final RelationshipUpdateModes valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<RelationshipUpdateModes> values() Returns an array containing the constants of this enum type, in the order they're declared.
      final EnumEntries<RelationshipUpdateModes> getEntries()
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • valueOf

         final RelationshipUpdateModes valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

      • values

         final Array<RelationshipUpdateModes> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.