WhatIfPropertyChange Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. WhatIfPropertyChange
- com.
Implements
public final class WhatIfPropertyChange
implements JsonSerializable<WhatIfPropertyChange>
The predicted change to the resource property.
Constructor Summary
Constructor | Description |
---|---|
WhatIfPropertyChange() |
Creates an instance of What |
Method Summary
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<What |
children()
Get the children property: Nested property changes. |
static
What |
fromJson(JsonReader jsonReader)
Reads an instance of What |
String |
path()
Get the path property: The path of the property. |
Property |
propertyChangeType()
Get the property |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
What |
withAfter(Object after)
Set the after property: The value of the property after the deployment is executed. |
What |
withBefore(Object before)
Set the before property: The value of the property before the deployment is executed. |
What |
withChildren(List<WhatIfPropertyChange> children)
Set the children property: Nested property changes. |
What |
withPath(String path)
Set the path property: The path of the property. |
What |
withPropertyChangeType(PropertyChangeType propertyChangeType)
Set the property |
Methods inherited from java.lang.Object
Constructor Details
WhatIfPropertyChange
public WhatIfPropertyChange()
Creates an instance of WhatIfPropertyChange class.
Method Details
after
public Object after()
Get the after property: The value of the property after the deployment is executed.
Returns:
before
public Object before()
Get the before property: The value of the property before the deployment is executed.
Returns:
children
public List
Get the children property: Nested property changes.
Returns:
fromJson
public static WhatIfPropertyChange fromJson(JsonReader jsonReader)
Reads an instance of WhatIfPropertyChange from the JsonReader.
Parameters:
Returns:
Throws:
path
public String path()
Get the path property: The path of the property.
Returns:
propertyChangeType
public PropertyChangeType propertyChangeType()
Get the propertyChangeType property: The type of property change.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAfter
public WhatIfPropertyChange withAfter(Object after)
Set the after property: The value of the property after the deployment is executed.
Parameters:
Returns:
withBefore
public WhatIfPropertyChange withBefore(Object before)
Set the before property: The value of the property before the deployment is executed.
Parameters:
Returns:
withChildren
public WhatIfPropertyChange withChildren(List
Set the children property: Nested property changes.
Parameters:
Returns:
withPath
public WhatIfPropertyChange withPath(String path)
Set the path property: The path of the property.
Parameters:
Returns:
withPropertyChangeType
public WhatIfPropertyChange withPropertyChangeType(PropertyChangeType propertyChangeType)
Set the propertyChangeType property: The type of property change.
Parameters:
Returns:
Applies to
Azure SDK for Java