ValidateRestoreRequestObject Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.ValidateRestoreRequestObject

Implements

public final class ValidateRestoreRequestObject
implements JsonSerializable<ValidateRestoreRequestObject>

Validate restore request object.

Constructor Summary

Constructor Description
ValidateRestoreRequestObject()

Creates an instance of ValidateRestoreRequestObject class.

Method Summary

Modifier and Type Method and Description
static ValidateRestoreRequestObject fromJson(JsonReader jsonReader)

Reads an instance of ValidateRestoreRequestObject from the JsonReader.

AzureBackupRestoreRequest restoreRequestObject()

Get the restoreRequestObject property: Gets or sets the restore request object.

JsonWriter toJson(JsonWriter jsonWriter)
ValidateRestoreRequestObject withRestoreRequestObject(AzureBackupRestoreRequest restoreRequestObject)

Set the restoreRequestObject property: Gets or sets the restore request object.

Methods inherited from java.lang.Object

Constructor Details

ValidateRestoreRequestObject

public ValidateRestoreRequestObject()

Creates an instance of ValidateRestoreRequestObject class.

Method Details

fromJson

public static ValidateRestoreRequestObject fromJson(JsonReader jsonReader)

Reads an instance of ValidateRestoreRequestObject from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

restoreRequestObject

public AzureBackupRestoreRequest restoreRequestObject()

Get the restoreRequestObject property: Gets or sets the restore request object.

Returns:

the restoreRequestObject value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withRestoreRequestObject

public ValidateRestoreRequestObject withRestoreRequestObject(AzureBackupRestoreRequest restoreRequestObject)

Set the restoreRequestObject property: Gets or sets the restore request object.

Parameters:

restoreRequestObject - the restoreRequestObject value to set.

Returns:

the ValidateRestoreRequestObject object itself.

Applies to