Class WhatIfPropertyChange
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.WhatIfPropertyChange
-
public final class WhatIfPropertyChange extends Object
The predicted change to the resource property.
-
-
Constructor Summary
Constructors Constructor Description WhatIfPropertyChange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectafter()Get the after property: The value of the property after the deployment is executed.Objectbefore()Get the before property: The value of the property before the deployment is executed.List<WhatIfPropertyChange>children()Get the children property: Nested property changes.Stringpath()Get the path property: The path of the property.PropertyChangeTypepropertyChangeType()Get the propertyChangeType property: The type of property change.voidvalidate()Validates the instance.WhatIfPropertyChangewithAfter(Object after)Set the after property: The value of the property after the deployment is executed.WhatIfPropertyChangewithBefore(Object before)Set the before property: The value of the property before the deployment is executed.WhatIfPropertyChangewithChildren(List<WhatIfPropertyChange> children)Set the children property: Nested property changes.WhatIfPropertyChangewithPath(String path)Set the path property: The path of the property.WhatIfPropertyChangewithPropertyChangeType(PropertyChangeType propertyChangeType)Set the propertyChangeType property: The type of property change.
-
-
-
Method Detail
-
path
public String path()
Get the path property: The path of the property.- Returns:
- the path value.
-
withPath
public WhatIfPropertyChange withPath(String path)
Set the path property: The path of the property.- Parameters:
path- the path value to set.- Returns:
- the WhatIfPropertyChange object itself.
-
propertyChangeType
public PropertyChangeType propertyChangeType()
Get the propertyChangeType property: The type of property change.- Returns:
- the propertyChangeType value.
-
withPropertyChangeType
public WhatIfPropertyChange withPropertyChangeType(PropertyChangeType propertyChangeType)
Set the propertyChangeType property: The type of property change.- Parameters:
propertyChangeType- the propertyChangeType value to set.- Returns:
- the WhatIfPropertyChange object itself.
-
before
public Object before()
Get the before property: The value of the property before the deployment is executed.- Returns:
- the before value.
-
withBefore
public WhatIfPropertyChange withBefore(Object before)
Set the before property: The value of the property before the deployment is executed.- Parameters:
before- the before value to set.- Returns:
- the WhatIfPropertyChange object itself.
-
after
public Object after()
Get the after property: The value of the property after the deployment is executed.- Returns:
- the after value.
-
withAfter
public WhatIfPropertyChange withAfter(Object after)
Set the after property: The value of the property after the deployment is executed.- Parameters:
after- the after value to set.- Returns:
- the WhatIfPropertyChange object itself.
-
children
public List<WhatIfPropertyChange> children()
Get the children property: Nested property changes.- Returns:
- the children value.
-
withChildren
public WhatIfPropertyChange withChildren(List<WhatIfPropertyChange> children)
Set the children property: Nested property changes.- Parameters:
children- the children value to set.- Returns:
- the WhatIfPropertyChange object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-