VolumeSnapshotProperties Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. VolumeSnapshotProperties
- com.
public final class VolumeSnapshotProperties
Volume Snapshot Properties.
Constructor Summary
Constructor | Description |
---|---|
VolumeSnapshotProperties() |
Creates an instance of Volume |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
snapshotPolicyId()
Get the snapshot |
void |
validate()
Validates the instance. |
Volume |
withSnapshotPolicyId(String snapshotPolicyId)
Set the snapshot |
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:
validate
public void validate()
Validates the instance.
withSnapshotPolicyId
public VolumeSnapshotProperties withSnapshotPolicyId(String snapshotPolicyId)
Set the snapshotPolicyId property: Snapshot Policy ResourceId.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for