WhatIfPropertyChange Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.WhatIfPropertyChange

Implements

public final class WhatIfPropertyChange
implements JsonSerializable<WhatIfPropertyChange>

The predicted change to the resource property.

Method Summary

Modifier and Type Method and Description
BinaryData after()

Get the after property: The value of the property after the deployment is executed.

BinaryData 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.

static WhatIfPropertyChange fromJson(JsonReader jsonReader)

Reads an instance of WhatIfPropertyChange from the JsonReader.

String path()

Get the path property: The path of the property.

PropertyChangeType propertyChangeType()

Get the propertyChangeType property: The type of property change.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

after

public BinaryData after()

Get the after property: The value of the property after the deployment is executed.

Returns:

the after value.

before

public BinaryData before()

Get the before property: The value of the property before the deployment is executed.

Returns:

the before value.

children

public List<WhatIfPropertyChange> children()

Get the children property: Nested property changes.

Returns:

the children value.

fromJson

public static WhatIfPropertyChange fromJson(JsonReader jsonReader)

Reads an instance of WhatIfPropertyChange from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WhatIfPropertyChange if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

path

public String path()

Get the path property: The path of the property.

Returns:

the path value.

propertyChangeType

public PropertyChangeType propertyChangeType()

Get the propertyChangeType property: The type of property change.

Returns:

the propertyChangeType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to