[BugFix:
add required types
@@ -2,6 +2,8 @@ package org.zstack.header.storage.primary;
import org.zstack.header.message.NeedReplyMessage;
+import java.util.List;
+
/**
* Created by mingjian.deng on 2019/10/10.
*/
@@ -9,6 +11,7 @@ public class SelectBackupStorageMsg extends NeedReplyMessage implements PrimaryS
private String primaryStorageUuid;
private String volumeUuid;
private long requiredSize;
+ private List<String> requiredBackupStorageTypes;
public void setPrimaryStorageUuid(String primaryStorageUuid) {
this.primaryStorageUuid = primaryStorageUuid;
@@ -34,4 +37,12 @@ public class SelectBackupStorageMsg extends NeedReplyMessage implements PrimaryS
public void setRequiredSize(long requiredSize) {
this.requiredSize = requiredSize;
}
+
+ public List<String> getRequiredBackupStorageTypes() {
+ return requiredBackupStorageTypes;
+ }
+
+ public void setRequiredBackupStorageTypes(List<String> requiredBackupStorageTypes) {
+ this.requiredBackupStorageTypes = requiredBackupStorageTypes;
+ }
}
