Enum RelationshipUpdateModes
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum RelationshipUpdateModes extends Enum<RelationshipUpdateModes>
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Integer
ordinal
private final EnumEntries<RelationshipUpdateModes>
entries
-
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()
-
-
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.
-
getEntries
final EnumEntries<RelationshipUpdateModes> getEntries()
-
-
-
-