VolumePropertiesDataProtection Class

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

public final class VolumePropertiesDataProtection

DataProtection DataProtection type volumes include an object containing details of the replication.

Constructor Summary

Constructor Description
VolumePropertiesDataProtection()

Creates an instance of VolumePropertiesDataProtection class.

Method Summary

Modifier and Type Method and Description
VolumeBackupProperties backup()

Get the backup property: Backup Properties.

ReplicationObject replication()

Get the replication property: Replication properties.

VolumeSnapshotProperties snapshot()

Get the snapshot property: Snapshot properties.

void validate()

Validates the instance.

VolumeRelocationProperties volumeRelocation()

Get the volumeRelocation property: VolumeRelocation properties.

VolumePropertiesDataProtection withBackup(VolumeBackupProperties backup)

Set the backup property: Backup Properties.

VolumePropertiesDataProtection withReplication(ReplicationObject replication)

Set the replication property: Replication properties.

VolumePropertiesDataProtection withSnapshot(VolumeSnapshotProperties snapshot)

Set the snapshot property: Snapshot properties.

VolumePropertiesDataProtection withVolumeRelocation(VolumeRelocationProperties volumeRelocation)

Set the volumeRelocation property: VolumeRelocation properties.

Methods inherited from java.lang.Object

Constructor Details

VolumePropertiesDataProtection

public VolumePropertiesDataProtection()

Creates an instance of VolumePropertiesDataProtection class.

Method Details

backup

public VolumeBackupProperties backup()

Get the backup property: Backup Properties.

Returns:

the backup value.

replication

public ReplicationObject replication()

Get the replication property: Replication properties.

Returns:

the replication value.

snapshot

public VolumeSnapshotProperties snapshot()

Get the snapshot property: Snapshot properties.

Returns:

the snapshot value.

validate

public void validate()

Validates the instance.

volumeRelocation

public VolumeRelocationProperties volumeRelocation()

Get the volumeRelocation property: VolumeRelocation properties.

Returns:

the volumeRelocation value.

withBackup

public VolumePropertiesDataProtection withBackup(VolumeBackupProperties backup)

Set the backup property: Backup Properties.

Parameters:

backup - the backup value to set.

Returns:

the VolumePropertiesDataProtection object itself.

withReplication

public VolumePropertiesDataProtection withReplication(ReplicationObject replication)

Set the replication property: Replication properties.

Parameters:

replication - the replication value to set.

Returns:

the VolumePropertiesDataProtection object itself.

withSnapshot

public VolumePropertiesDataProtection withSnapshot(VolumeSnapshotProperties snapshot)

Set the snapshot property: Snapshot properties.

Parameters:

snapshot - the snapshot value to set.

Returns:

the VolumePropertiesDataProtection object itself.

withVolumeRelocation

public VolumePropertiesDataProtection withVolumeRelocation(VolumeRelocationProperties volumeRelocation)

Set the volumeRelocation property: VolumeRelocation properties.

Parameters:

volumeRelocation - the volumeRelocation value to set.

Returns:

the VolumePropertiesDataProtection object itself.

Applies to