VolumeBackupProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.netapp.models.VolumeBackupProperties

public final class VolumeBackupProperties

Volume Backup Properties.

Constructor Summary

Constructor Description
VolumeBackupProperties()

Creates an instance of VolumeBackupProperties class.

Method Summary

Modifier and Type Method and Description
Boolean backupEnabled()

Get the backupEnabled property: Backup Enabled.

String backupPolicyId()

Get the backupPolicyId property: Backup Policy Resource ID.

String backupVaultId()

Get the backupVaultId property: Backup Vault Resource ID.

Boolean policyEnforced()

Get the policyEnforced property: Policy Enforced.

void validate()

Validates the instance.

VolumeBackupProperties withBackupEnabled(Boolean backupEnabled)

Set the backupEnabled property: Backup Enabled.

VolumeBackupProperties withBackupPolicyId(String backupPolicyId)

Set the backupPolicyId property: Backup Policy Resource ID.

VolumeBackupProperties withBackupVaultId(String backupVaultId)

Set the backupVaultId property: Backup Vault Resource ID.

VolumeBackupProperties withPolicyEnforced(Boolean policyEnforced)

Set the policyEnforced property: Policy Enforced.

Methods inherited from java.lang.Object

Constructor Details

VolumeBackupProperties

public VolumeBackupProperties()

Creates an instance of VolumeBackupProperties class.

Method Details

backupEnabled

public Boolean backupEnabled()

Get the backupEnabled property: Backup Enabled.

Returns:

the backupEnabled value.

backupPolicyId

public String backupPolicyId()

Get the backupPolicyId property: Backup Policy Resource ID.

Returns:

the backupPolicyId value.

backupVaultId

public String backupVaultId()

Get the backupVaultId property: Backup Vault Resource ID.

Returns:

the backupVaultId value.

policyEnforced

public Boolean policyEnforced()

Get the policyEnforced property: Policy Enforced.

Returns:

the policyEnforced value.

validate

public void validate()

Validates the instance.

withBackupEnabled

public VolumeBackupProperties withBackupEnabled(Boolean backupEnabled)

Set the backupEnabled property: Backup Enabled.

Parameters:

backupEnabled - the backupEnabled value to set.

Returns:

the VolumeBackupProperties object itself.

withBackupPolicyId

public VolumeBackupProperties withBackupPolicyId(String backupPolicyId)

Set the backupPolicyId property: Backup Policy Resource ID.

Parameters:

backupPolicyId - the backupPolicyId value to set.

Returns:

the VolumeBackupProperties object itself.

withBackupVaultId

public VolumeBackupProperties withBackupVaultId(String backupVaultId)

Set the backupVaultId property: Backup Vault Resource ID.

Parameters:

backupVaultId - the backupVaultId value to set.

Returns:

the VolumeBackupProperties object itself.

withPolicyEnforced

public VolumeBackupProperties withPolicyEnforced(Boolean policyEnforced)

Set the policyEnforced property: Policy Enforced.

Parameters:

policyEnforced - the policyEnforced value to set.

Returns:

the VolumeBackupProperties object itself.

Applies to