Class ResourceChangeDetail

    • Method Detail

      • target

        public final ResourceTargetDefinition target()

        Information about the resource attribute to be modified.

        Returns:
        Information about the resource attribute to be modified.
      • evaluation

        public final EvaluationType evaluation()

        For static evaluations, the value of the resource attribute will change and the new value is known. For dynamic evaluations, the value might change, and any new value will be determined when the plan is updated.

        If the service returns an enum value that is not available in the current SDK version, evaluation will return EvaluationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from evaluationAsString().

        Returns:
        For static evaluations, the value of the resource attribute will change and the new value is known. For dynamic evaluations, the value might change, and any new value will be determined when the plan is updated.
        See Also:
        EvaluationType
      • evaluationAsString

        public final String evaluationAsString()

        For static evaluations, the value of the resource attribute will change and the new value is known. For dynamic evaluations, the value might change, and any new value will be determined when the plan is updated.

        If the service returns an enum value that is not available in the current SDK version, evaluation will return EvaluationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from evaluationAsString().

        Returns:
        For static evaluations, the value of the resource attribute will change and the new value is known. For dynamic evaluations, the value might change, and any new value will be determined when the plan is updated.
        See Also:
        EvaluationType
      • causingEntity

        public final String causingEntity()

        The ID of the entity that caused the change.

        Returns:
        The ID of the entity that caused the change.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)