Share via


ManagedCcfBackup Class

  • java.lang.Object
    • com.azure.resourcemanager.confidentialledger.models.ManagedCcfBackup

Implements

public final class ManagedCcfBackup
implements JsonSerializable<ManagedCcfBackup>

Object representing Backup properties of a Managed CCF Resource.

Constructor Summary

Constructor Description
ManagedCcfBackup()

Creates an instance of ManagedCcfBackup class.

Method Summary

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

Reads an instance of ManagedCcfBackup from the JsonReader.

String restoreRegion()

Get the restoreRegion property: The region where the backup of the managed CCF resource will eventually be restored to.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: SAS URI used to access the backup Fileshare.

void validate()

Validates the instance.

ManagedCcfBackup withRestoreRegion(String restoreRegion)

Set the restoreRegion property: The region where the backup of the managed CCF resource will eventually be restored to.

ManagedCcfBackup withUri(String uri)

Set the uri property: SAS URI used to access the backup Fileshare.

Methods inherited from java.lang.Object

Constructor Details

ManagedCcfBackup

public ManagedCcfBackup()

Creates an instance of ManagedCcfBackup class.

Method Details

fromJson

public static ManagedCcfBackup fromJson(JsonReader jsonReader)

Reads an instance of ManagedCcfBackup from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

restoreRegion

public String restoreRegion()

Get the restoreRegion property: The region where the backup of the managed CCF resource will eventually be restored to.

Returns:

the restoreRegion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: SAS URI used to access the backup Fileshare.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

withRestoreRegion

public ManagedCcfBackup withRestoreRegion(String restoreRegion)

Set the restoreRegion property: The region where the backup of the managed CCF resource will eventually be restored to.

Parameters:

restoreRegion - the restoreRegion value to set.

Returns:

the ManagedCcfBackup object itself.

withUri

public ManagedCcfBackup withUri(String uri)

Set the uri property: SAS URI used to access the backup Fileshare.

Parameters:

uri - the uri value to set.

Returns:

the ManagedCcfBackup object itself.

Applies to