BackupVault Class

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

Implements

public final class BackupVault
implements JsonSerializable<BackupVault>

Backup Vault.

Constructor Summary

Constructor Description
BackupVault()

Creates an instance of BackupVault class.

Method Summary

Modifier and Type Method and Description
BcdrSecurityLevel bcdrSecurityLevel()

Get the bcdrSecurityLevel property: Security Level of Backup Vault.

FeatureSettings featureSettings()

Get the featureSettings property: Feature Settings.

static BackupVault fromJson(JsonReader jsonReader)

Reads an instance of BackupVault from the JsonReader.

Boolean isVaultProtectedByResourceGuard()

Get the isVaultProtectedByResourceGuard property: Is vault protected by resource guard.

MonitoringSettings monitoringSettings()

Get the monitoringSettings property: Monitoring Settings.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the BackupVault resource.

List<String> replicatedRegions()

Get the replicatedRegions property: List of replicated regions for Backup Vault.

List<String> resourceGuardOperationRequests()

Get the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.

ResourceMoveDetails resourceMoveDetails()

Get the resourceMoveDetails property: Resource move details for backup vault.

ResourceMoveState resourceMoveState()

Get the resourceMoveState property: Resource move state for backup vault.

SecureScoreLevel secureScore()

Get the secureScore property: Secure Score of Backup Vault.

SecuritySettings securitySettings()

Get the securitySettings property: Security Settings.

List<StorageSetting> storageSettings()

Get the storageSettings property: Storage Settings.

JsonWriter toJson(JsonWriter jsonWriter)
BackupVault withFeatureSettings(FeatureSettings featureSettings)

Set the featureSettings property: Feature Settings.

BackupVault withMonitoringSettings(MonitoringSettings monitoringSettings)

Set the monitoringSettings property: Monitoring Settings.

BackupVault withReplicatedRegions(List<String> replicatedRegions)

Set the replicatedRegions property: List of replicated regions for Backup Vault.

BackupVault withResourceGuardOperationRequests(List<String> resourceGuardOperationRequests)

Set the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.

BackupVault withSecuritySettings(SecuritySettings securitySettings)

Set the securitySettings property: Security Settings.

BackupVault withStorageSettings(List<StorageSetting> storageSettings)

Set the storageSettings property: Storage Settings.

Methods inherited from java.lang.Object

Constructor Details

BackupVault

public BackupVault()

Creates an instance of BackupVault class.

Method Details

bcdrSecurityLevel

public BcdrSecurityLevel bcdrSecurityLevel()

Get the bcdrSecurityLevel property: Security Level of Backup Vault.

Returns:

the bcdrSecurityLevel value.

featureSettings

public FeatureSettings featureSettings()

Get the featureSettings property: Feature Settings.

Returns:

the featureSettings value.

fromJson

public static BackupVault fromJson(JsonReader jsonReader)

Reads an instance of BackupVault from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isVaultProtectedByResourceGuard

public Boolean isVaultProtectedByResourceGuard()

Get the isVaultProtectedByResourceGuard property: Is vault protected by resource guard.

Returns:

the isVaultProtectedByResourceGuard value.

monitoringSettings

public MonitoringSettings monitoringSettings()

Get the monitoringSettings property: Monitoring Settings.

Returns:

the monitoringSettings value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the BackupVault resource.

Returns:

the provisioningState value.

replicatedRegions

public List<String> replicatedRegions()

Get the replicatedRegions property: List of replicated regions for Backup Vault.

Returns:

the replicatedRegions value.

resourceGuardOperationRequests

public List<String> resourceGuardOperationRequests()

Get the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.

Returns:

the resourceGuardOperationRequests value.

resourceMoveDetails

public ResourceMoveDetails resourceMoveDetails()

Get the resourceMoveDetails property: Resource move details for backup vault.

Returns:

the resourceMoveDetails value.

resourceMoveState

public ResourceMoveState resourceMoveState()

Get the resourceMoveState property: Resource move state for backup vault.

Returns:

the resourceMoveState value.

secureScore

public SecureScoreLevel secureScore()

Get the secureScore property: Secure Score of Backup Vault.

Returns:

the secureScore value.

securitySettings

public SecuritySettings securitySettings()

Get the securitySettings property: Security Settings.

Returns:

the securitySettings value.

storageSettings

public List<StorageSetting> storageSettings()

Get the storageSettings property: Storage Settings.

Returns:

the storageSettings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withFeatureSettings

public BackupVault withFeatureSettings(FeatureSettings featureSettings)

Set the featureSettings property: Feature Settings.

Parameters:

featureSettings - the featureSettings value to set.

Returns:

the BackupVault object itself.

withMonitoringSettings

public BackupVault withMonitoringSettings(MonitoringSettings monitoringSettings)

Set the monitoringSettings property: Monitoring Settings.

Parameters:

monitoringSettings - the monitoringSettings value to set.

Returns:

the BackupVault object itself.

withReplicatedRegions

public BackupVault withReplicatedRegions(List<String> replicatedRegions)

Set the replicatedRegions property: List of replicated regions for Backup Vault.

Parameters:

replicatedRegions - the replicatedRegions value to set.

Returns:

the BackupVault object itself.

withResourceGuardOperationRequests

public BackupVault withResourceGuardOperationRequests(List<String> resourceGuardOperationRequests)

Set the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.

Parameters:

resourceGuardOperationRequests - the resourceGuardOperationRequests value to set.

Returns:

the BackupVault object itself.

withSecuritySettings

public BackupVault withSecuritySettings(SecuritySettings securitySettings)

Set the securitySettings property: Security Settings.

Parameters:

securitySettings - the securitySettings value to set.

Returns:

the BackupVault object itself.

withStorageSettings

public BackupVault withStorageSettings(List<StorageSetting> storageSettings)

Set the storageSettings property: Storage Settings.

Parameters:

storageSettings - the storageSettings value to set.

Returns:

the BackupVault object itself.

Applies to