cn.ucloud.uec.models.ReinstallUEcVHostRequest Maven / Gradle / Ivy
/**
* Copyright 2021 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
*
http://www.apache.org/licenses/LICENSE-2.0
*
*
Unless required by applicable law or agreed to in writing, software distributed under the
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.ucloud.uec.models;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
import cn.ucloud.common.request.Request;
public class ReinstallUEcVHostRequest extends Request {
/**
* 项目ID。不填写为默认项目,子帐号必须填写。
* 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@UCloudParam("ProjectId")
private String projectId;
/** 虚拟机资源ID */
@NotEmpty
@UCloudParam("NodeId")
private String nodeId;
/** 镜像ID */
@NotEmpty
@UCloudParam("ImageId")
private String imageId;
/** 是否保留数据盘数据, 0-不保留,1-保留,默认为1 */
@UCloudParam("KeepData")
private Integer keepData;
/** 节点密码 */
@UCloudParam("Password")
private String password;
/** 系统盘大小,单位GB */
@UCloudParam("SysDiskSize")
private Integer sysDiskSize;
public String getProjectId() {
return projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
public String getNodeId() {
return nodeId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
public String getImageId() {
return imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
}
public Integer getKeepData() {
return keepData;
}
public void setKeepData(Integer keepData) {
this.keepData = keepData;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public Integer getSysDiskSize() {
return sysDiskSize;
}
public void setSysDiskSize(Integer sysDiskSize) {
this.sysDiskSize = sysDiskSize;
}
}