public final class WhatIfPropertyChange extends Object
| Constructor and Description |
|---|
WhatIfPropertyChange() |
| Modifier and Type | Method and Description |
|---|---|
Object |
after()
Get the after property: The value of the property after the deployment is executed.
|
Object |
before()
Get the before property: The value of the property before the deployment is executed.
|
List<WhatIfPropertyChange> |
children()
Get the children property: Nested property changes.
|
String |
path()
Get the path property: The path of the property.
|
PropertyChangeType |
propertyChangeType()
Get the propertyChangeType property: The type of property change.
|
void |
validate()
Validates the instance.
|
WhatIfPropertyChange |
withAfter(Object after)
Set the after property: The value of the property after the deployment is executed.
|
WhatIfPropertyChange |
withBefore(Object before)
Set the before property: The value of the property before the deployment is executed.
|
WhatIfPropertyChange |
withChildren(List<WhatIfPropertyChange> children)
Set the children property: Nested property changes.
|
WhatIfPropertyChange |
withPath(String path)
Set the path property: The path of the property.
|
WhatIfPropertyChange |
withPropertyChangeType(PropertyChangeType propertyChangeType)
Set the propertyChangeType property: The type of property change.
|
public String path()
public WhatIfPropertyChange withPath(String path)
path - the path value to set.public PropertyChangeType propertyChangeType()
public WhatIfPropertyChange withPropertyChangeType(PropertyChangeType propertyChangeType)
propertyChangeType - the propertyChangeType value to set.public Object before()
public WhatIfPropertyChange withBefore(Object before)
before - the before value to set.public Object after()
public WhatIfPropertyChange withAfter(Object after)
after - the after value to set.public List<WhatIfPropertyChange> children()
public WhatIfPropertyChange withChildren(List<WhatIfPropertyChange> children)
children - the children value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.