次の方法で共有


ChangeAttributes Class

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

Implements

public final class ChangeAttributes
implements JsonSerializable<ChangeAttributes>

Details about the change resource.

Constructor Summary

Constructor Description
ChangeAttributes()

Creates an instance of ChangeAttributes class.

Method Summary

Modifier and Type Method and Description
Long changesCount()

Get the changesCount property: The number of changes this resource captures.

String correlationId()

Get the correlationId property: The ARM correlation ID of the change resource.

static ChangeAttributes fromJson(JsonReader jsonReader)

Reads an instance of ChangeAttributes from the JsonReader.

String newResourceSnapshotId()

Get the newResourceSnapshotId property: The GUID of the new snapshot.

String previousResourceSnapshotId()

Get the previousResourceSnapshotId property: The GUID of the previous snapshot.

String timestamp()

Get the timestamp property: The time the change(s) on the target resource ocurred.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ChangeAttributes

public ChangeAttributes()

Creates an instance of ChangeAttributes class.

Method Details

changesCount

public Long changesCount()

Get the changesCount property: The number of changes this resource captures.

Returns:

the changesCount value.

correlationId

public String correlationId()

Get the correlationId property: The ARM correlation ID of the change resource.

Returns:

the correlationId value.

fromJson

public static ChangeAttributes fromJson(JsonReader jsonReader)

Reads an instance of ChangeAttributes from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ChangeAttributes 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 ChangeAttributes.

newResourceSnapshotId

public String newResourceSnapshotId()

Get the newResourceSnapshotId property: The GUID of the new snapshot.

Returns:

the newResourceSnapshotId value.

previousResourceSnapshotId

public String previousResourceSnapshotId()

Get the previousResourceSnapshotId property: The GUID of the previous snapshot.

Returns:

the previousResourceSnapshotId value.

timestamp

public String timestamp()

Get the timestamp property: The time the change(s) on the target resource ocurred.

Returns:

the timestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to