com.aliyun.ens20171110.models.DeploySDGShrinkRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ens20171110 Show documentation
Show all versions of ens20171110 Show documentation
Alibaba Cloud edge node service (20171110) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DeploySDGShrinkRequest extends TeaModel {
/**
* The SDG deployment type. Valid values:
*
* - common (default): read/write deployment. Data updates are written to disks.
* - overlay: read/write splitting deployment. Content in SDGs is read-only. Data updates are written to the local storage of the instance.
*
*
* example:
* common
*/
@NameInMap("DeploymentType")
public String deploymentType;
/**
* The IDs of instances on which you want to deploy SDGs. You can deploy SDGs on a maximum of 100 instances at a time.
* This parameter is required.
*/
@NameInMap("InstanceIds")
public String instanceIdsShrink;
/**
* The SDG ID. This parameter is used to create a disk, which is attached to an instance.
* This parameter is required.
*
* example:
* sdg-xxxxx
*/
@NameInMap("SDGId")
public String SDGId;
public static DeploySDGShrinkRequest build(java.util.Map map) throws Exception {
DeploySDGShrinkRequest self = new DeploySDGShrinkRequest();
return TeaModel.build(map, self);
}
public DeploySDGShrinkRequest setDeploymentType(String deploymentType) {
this.deploymentType = deploymentType;
return this;
}
public String getDeploymentType() {
return this.deploymentType;
}
public DeploySDGShrinkRequest setInstanceIdsShrink(String instanceIdsShrink) {
this.instanceIdsShrink = instanceIdsShrink;
return this;
}
public String getInstanceIdsShrink() {
return this.instanceIdsShrink;
}
public DeploySDGShrinkRequest setSDGId(String SDGId) {
this.SDGId = SDGId;
return this;
}
public String getSDGId() {
return this.SDGId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy