Class VolumeSnapshotProperties

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

public final class VolumeSnapshotProperties extends Object
Volume Snapshot Properties.
  • Constructor Details

    • VolumeSnapshotProperties

      public VolumeSnapshotProperties()
  • Method Details

    • snapshotPolicyId

      public String snapshotPolicyId()
      Get the snapshotPolicyId property: Snapshot Policy ResourceId.
      Returns:
      the snapshotPolicyId value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.