Class VolumeSnapshotProperties


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

      • VolumeSnapshotProperties

        public VolumeSnapshotProperties()
    • 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.