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 Summary
Constructors Constructor Description ChangeBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeCategorychangeCategory()Get the changeCategory property: The entity that made the change.StringnewValue()Get the newValue property: The target resource property value after the change.StringpreviousValue()Get the previousValue property: The target resource property value before the change.ResourcePropertyChangeTypepropertyChangeType()Get the propertyChangeType property: The type of change that occurred.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
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.
-
-