com.aliyun.sdk.service.ens20171110.models.DeployInstanceSDGRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeployInstanceSDGRequest} extends {@link RequestModel}
*
* DeployInstanceSDGRequest
*/
public class DeployInstanceSDGRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DeploymentType")
private String deploymentType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceIds")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List instanceIds;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SDGId")
@com.aliyun.core.annotation.Validation(required = true)
private String SDGId;
private DeployInstanceSDGRequest(Builder builder) {
super(builder);
this.deploymentType = builder.deploymentType;
this.instanceIds = builder.instanceIds;
this.SDGId = builder.SDGId;
}
public static Builder builder() {
return new Builder();
}
public static DeployInstanceSDGRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deploymentType
*/
public String getDeploymentType() {
return this.deploymentType;
}
/**
* @return instanceIds
*/
public java.util.List getInstanceIds() {
return this.instanceIds;
}
/**
* @return SDGId
*/
public String getSDGId() {
return this.SDGId;
}
public static final class Builder extends Request.Builder {
private String deploymentType;
private java.util.List instanceIds;
private String SDGId;
private Builder() {
super();
}
private Builder(DeployInstanceSDGRequest request) {
super(request);
this.deploymentType = request.deploymentType;
this.instanceIds = request.instanceIds;
this.SDGId = request.SDGId;
}
/**
* The deployment type of the SDG. shared: shared read/write splitting deployment. The content of the SDG is read-only, and data updates are written to the local storage of the instance.
*
* example:
* shared
*/
public Builder deploymentType(String deploymentType) {
this.putQueryParameter("DeploymentType", deploymentType);
this.deploymentType = deploymentType;
return this;
}
/**
* The IDs of the instances. The value is a JSON array that consists of up to 100 IDs.
* This parameter is required.
*/
public Builder instanceIds(java.util.List instanceIds) {
String instanceIdsShrink = shrink(instanceIds, "InstanceIds", "json");
this.putQueryParameter("InstanceIds", instanceIdsShrink);
this.instanceIds = instanceIds;
return this;
}
/**
* The ID of the SDG.
* This parameter is required.
*
* example:
* sdg-xxxx
*/
public Builder SDGId(String SDGId) {
this.putQueryParameter("SDGId", SDGId);
this.SDGId = SDGId;
return this;
}
@Override
public DeployInstanceSDGRequest build() {
return new DeployInstanceSDGRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy