BackupRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.BackupRequest

Implements

public final class BackupRequest
implements JsonSerializable<BackupRequest>

Backup request.

Constructor Summary

Constructor Description
BackupRequest()

Creates an instance of BackupRequest class.

Method Summary

Modifier and Type Method and Description
String azureFileShare()

Get the azureFileShare property: Azure File Share.

static BackupRequest fromJson(JsonReader jsonReader)

Reads an instance of BackupRequest from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
BackupRequest withAzureFileShare(String azureFileShare)

Set the azureFileShare property: Azure File Share.

Methods inherited from java.lang.Object

Constructor Details

BackupRequest

public BackupRequest()

Creates an instance of BackupRequest class.

Method Details

azureFileShare

public String azureFileShare()

Get the azureFileShare property: Azure File Share.

Returns:

the azureFileShare value.

fromJson

public static BackupRequest fromJson(JsonReader jsonReader)

Reads an instance of BackupRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withAzureFileShare

public BackupRequest withAzureFileShare(String azureFileShare)

Set the azureFileShare property: Azure File Share.

Parameters:

azureFileShare - the azureFileShare value to set.

Returns:

the BackupRequest object itself.

Applies to