RestorePointInstanceView Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.RestorePointInstanceView

Implements

public final class RestorePointInstanceView
implements JsonSerializable<RestorePointInstanceView>

The instance view of a restore point.

Constructor Summary

Constructor Description
RestorePointInstanceView()

Creates an instance of RestorePointInstanceView class.

Method Summary

Modifier and Type Method and Description
List<DiskRestorePointInstanceView> diskRestorePoints()

Get the diskRestorePoints property: The disk restore points information.

static RestorePointInstanceView fromJson(JsonReader jsonReader)

Reads an instance of RestorePointInstanceView from the JsonReader.

List<InstanceViewStatus> statuses()

Get the statuses property: The resource status information.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RestorePointInstanceView withDiskRestorePoints(List<DiskRestorePointInstanceView> diskRestorePoints)

Set the diskRestorePoints property: The disk restore points information.

RestorePointInstanceView withStatuses(List<InstanceViewStatus> statuses)

Set the statuses property: The resource status information.

Methods inherited from java.lang.Object

Constructor Details

RestorePointInstanceView

public RestorePointInstanceView()

Creates an instance of RestorePointInstanceView class.

Method Details

diskRestorePoints

public List diskRestorePoints()

Get the diskRestorePoints property: The disk restore points information.

Returns:

the diskRestorePoints value.

fromJson

public static RestorePointInstanceView fromJson(JsonReader jsonReader)

Reads an instance of RestorePointInstanceView from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

statuses

public List statuses()

Get the statuses property: The resource status information.

Returns:

the statuses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDiskRestorePoints

public RestorePointInstanceView withDiskRestorePoints(List diskRestorePoints)

Set the diskRestorePoints property: The disk restore points information.

Parameters:

diskRestorePoints - the diskRestorePoints value to set.

Returns:

the RestorePointInstanceView object itself.

withStatuses

public RestorePointInstanceView withStatuses(List statuses)

Set the statuses property: The resource status information.

Parameters:

statuses - the statuses value to set.

Returns:

the RestorePointInstanceView object itself.

Applies to