Class VolumeSnapshotProperties
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.VolumeSnapshotProperties
-
public final class VolumeSnapshotProperties extends Object
Volume Snapshot Properties.
-
-
Constructor Summary
Constructors Constructor Description VolumeSnapshotProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
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.
-
-