次の方法で共有


ChangeBase Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.ChangeBase

Implements

public final class ChangeBase
implements JsonSerializable<ChangeBase>

An individual change on the target resource.

Constructor Summary

Constructor Description
ChangeBase()

Creates an instance of ChangeBase class.

Method Summary

Modifier and Type Method and Description
ChangeCategory changeCategory()

Get the changeCategory property: The entity that made the change.

static ChangeBase fromJson(JsonReader jsonReader)

Reads an instance of ChangeBase from the JsonReader.

String newValue()

Get the newValue property: The target resource property value after the change.

String previousValue()

Get the previousValue property: The target resource property value before the change.

ResourcePropertyChangeType propertyChangeType()

Get the propertyChangeType property: The type of change that occurred.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ChangeBase

public ChangeBase()

Creates an instance of ChangeBase class.

Method Details

changeCategory

public ChangeCategory changeCategory()

Get the changeCategory property: The entity that made the change.

Returns:

the changeCategory value.

fromJson

public static ChangeBase fromJson(JsonReader jsonReader)

Reads an instance of ChangeBase from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ChangeBase.

newValue

public String newValue()

Get the newValue property: The target resource property value after the change.

Returns:

the newValue value.

previousValue

public String previousValue()

Get the previousValue property: The target resource property value before the change.

Returns:

the previousValue value.

propertyChangeType

public ResourcePropertyChangeType propertyChangeType()

Get the propertyChangeType property: The type of change that occurred.

Returns:

the propertyChangeType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to