VolumeSnapshotProperties Class

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

public final class VolumeSnapshotProperties

Volume Snapshot Properties.

Constructor Summary

Constructor Description
VolumeSnapshotProperties()

Creates an instance of VolumeSnapshotProperties class.

Method Summary

Modifier and Type Method and Description
String snapshotPolicyId()

Get the snapshotPolicyId property: Snapshot Policy ResourceId.

void validate()

Validates the instance.

VolumeSnapshotProperties withSnapshotPolicyId(String snapshotPolicyId)

Set the snapshotPolicyId property: Snapshot Policy ResourceId.

Methods inherited from java.lang.Object

Constructor Details

VolumeSnapshotProperties

public VolumeSnapshotProperties()

Creates an instance of VolumeSnapshotProperties class.

Method Details

snapshotPolicyId

public String snapshotPolicyId()

Get the snapshotPolicyId property: Snapshot Policy ResourceId.

Returns:

the snapshotPolicyId value.

validate

public void validate()

Validates the instance.

withSnapshotPolicyId

public VolumeSnapshotProperties withSnapshotPolicyId(String snapshotPolicyId)

Set the snapshotPolicyId property: Snapshot Policy ResourceId.

Parameters:

snapshotPolicyId - the snapshotPolicyId value to set.

Returns:

the VolumeSnapshotProperties object itself.

Applies to