Class VolumeSnapshotProperties
java.lang.Object
com.azure.resourcemanager.netapp.models.VolumeSnapshotProperties
Volume Snapshot Properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of VolumeSnapshotProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the snapshotPolicyId property: Snapshot Policy ResourceId.void
validate()
Validates the instance.withSnapshotPolicyId
(String snapshotPolicyId) Set the snapshotPolicyId property: Snapshot Policy ResourceId.
-
Constructor Details
-
VolumeSnapshotProperties
public VolumeSnapshotProperties()Creates an instance of VolumeSnapshotProperties class.
-
-
Method Details
-
snapshotPolicyId
Get the snapshotPolicyId property: Snapshot Policy ResourceId.- Returns:
- the snapshotPolicyId value.
-
withSnapshotPolicyId
Set the snapshotPolicyId property: Snapshot Policy ResourceId.- Parameters:
snapshotPolicyId
- the snapshotPolicyId value to set.- Returns:
- the VolumeSnapshotProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-