Class WhatIfPropertyChange

java.lang.Object
com.microsoft.azure.management.resources.WhatIfPropertyChange

public class WhatIfPropertyChange extends Object
The predicted change to the resource property.
  • Constructor Details

    • WhatIfPropertyChange

      public WhatIfPropertyChange()
  • Method Details

    • path

      public String path()
      Get the path of the property.
      Returns:
      the path value
    • withPath

      public WhatIfPropertyChange withPath(String path)
      Set the path of the property.
      Parameters:
      path - the path value to set
      Returns:
      the WhatIfPropertyChange object itself.
    • propertyChangeType

      public PropertyChangeType propertyChangeType()
      Get the type of property change. Possible values include: 'Create', 'Delete', 'Modify', 'Array'.
      Returns:
      the propertyChangeType value
    • withPropertyChangeType

      public WhatIfPropertyChange withPropertyChangeType(PropertyChangeType propertyChangeType)
      Set the type of property change. Possible values include: 'Create', 'Delete', 'Modify', 'Array'.
      Parameters:
      propertyChangeType - the propertyChangeType value to set
      Returns:
      the WhatIfPropertyChange object itself.
    • before

      public Object before()
      Get the value of the property before the deployment is executed.
      Returns:
      the before value
    • withBefore

      public WhatIfPropertyChange withBefore(Object before)
      Set 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 value of the property after the deployment is executed.
      Returns:
      the after value
    • withAfter

      public WhatIfPropertyChange withAfter(Object after)
      Set 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 nested property changes.
      Returns:
      the children value
    • withChildren

      public WhatIfPropertyChange withChildren(List<WhatIfPropertyChange> children)
      Set nested property changes.
      Parameters:
      children - the children value to set
      Returns:
      the WhatIfPropertyChange object itself.