Class ChangeBase

java.lang.Object
com.azure.resourcemanager.resources.models.ChangeBase

public final class ChangeBase extends Object
An individual change on the target resource.
  • Constructor Details

    • ChangeBase

      public ChangeBase()
      Creates an instance of ChangeBase class.
  • Method Details

    • propertyChangeType

      public ResourcePropertyChangeType propertyChangeType()
      Get the propertyChangeType property: The type of change that occurred.
      Returns:
      the propertyChangeType value.
    • changeCategory

      public ChangeCategory changeCategory()
      Get the changeCategory property: The entity that made the change.
      Returns:
      the changeCategory value.
    • previousValue

      public String previousValue()
      Get the previousValue property: The target resource property value before the change.
      Returns:
      the previousValue value.
    • newValue

      public String newValue()
      Get the newValue property: The target resource property value after the change.
      Returns:
      the newValue value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.