类 RollbackVolumeRequest


  • public class RollbackVolumeRequest
    extends AbstractBceRequest
    The request for Rolling back the specified volume.
    • 构造器详细资料

      • RollbackVolumeRequest

        public RollbackVolumeRequest()
    • 方法详细资料

      • getVolumeId

        public String getVolumeId()
      • setVolumeId

        public void setVolumeId​(String volumeId)
      • withVolumeId

        public RollbackVolumeRequest withVolumeId​(String volumeId)
        Configure volumeId for the request.
        参数:
        volumeId - The id of volume which will be rolled back.
        返回:
        RollbackVolumeRequest with volumeId.
      • getSnapshotId

        public String getSnapshotId()
      • setSnapshotId

        public void setSnapshotId​(String snapshotId)
      • withSnapshotId

        public RollbackVolumeRequest withSnapshotId​(String snapshotId)
        Configure snapshotId for the request.
        参数:
        snapshotId - The id which specify where the volume will be rolled back from. If you want to rollback the volume from a customized volume,a id of the volume will be set. If you want to rollback the volume from a system volume,a id of the instance will be set.
        返回:
        RollbackVolumeRequest with snapshotId.