WhatIfPropertyChange Class
- java.
lang. Object - com.
microsoft. azure. management. resources. WhatIfPropertyChange
- com.
public class WhatIfPropertyChange
The predicted change to the resource property.
Constructor Summary
Constructor | Description | |
---|---|---|
WhatIfPropertyChange() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
after()
Get the value of the property after the deployment is executed. |
java.lang.Object |
before()
Get the value of the property before the deployment is executed. |
java.util.List<What |
children()
Get nested property changes. |
java.lang.String |
path()
Get the path of the property. |
Property |
propertyChangeType()
Get the type of property change. |
What |
withAfter(Object after)
Set the value of the property after the deployment is executed. |
What |
withBefore(Object before)
Set the value of the property before the deployment is executed. |
What |
withChildren(List<WhatIfPropertyChange> children)
Set nested property changes. |
What |
withPath(String path)
Set the path of the property. |
What |
withPropertyChangeType(PropertyChangeType propertyChangeType)
Set the type of property change. |
Methods inherited from java.lang.Object
Constructor Details
WhatIfPropertyChange
public WhatIfPropertyChange()
Method Details
after
public Object after()
Get the value of the property after the deployment is executed.
Returns:
before
public Object before()
Get the value of the property before the deployment is executed.
Returns:
children
public List
Get nested property changes.
Returns:
path
public String path()
Get the path of the property.
Returns:
propertyChangeType
public PropertyChangeType propertyChangeType()
Get the type of property change. Possible values include: 'Create', 'Delete', 'Modify', 'Array'.
Returns:
withAfter
public WhatIfPropertyChange withAfter(Object after)
Set the value of the property after the deployment is executed.
Parameters:
Returns:
withBefore
public WhatIfPropertyChange withBefore(Object before)
Set the value of the property before the deployment is executed.
Parameters:
Returns:
withChildren
public WhatIfPropertyChange withChildren(List
Set nested property changes.
Parameters:
Returns:
withPath
public WhatIfPropertyChange withPath(String path)
Set the path of the property.
Parameters:
Returns:
withPropertyChangeType
public WhatIfPropertyChange withPropertyChangeType(PropertyChangeType propertyChangeType)
Set the type of property change. Possible values include: 'Create', 'Delete', 'Modify', 'Array'.
Parameters:
Returns: