com.aliyun.edas20170801.models.ScaleK8sApplicationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edas20170801 Show documentation
Show all versions of edas20170801 Show documentation
Alibaba Cloud Enterprise Distributed Application Service (20170801) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.edas20170801.models;
import com.aliyun.tea.*;
public class ScaleK8sApplicationRequest extends TeaModel {
/**
* The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).
*/
@NameInMap("AppId")
public String appId;
/**
* The expected number of application instances after the scale-out or scale-in. The minimum number is 0.
*/
@NameInMap("Replicas")
public Integer replicas;
/**
* The timeout period of the change process. Unit: seconds.
*/
@NameInMap("Timeout")
public Integer timeout;
public static ScaleK8sApplicationRequest build(java.util.Map map) throws Exception {
ScaleK8sApplicationRequest self = new ScaleK8sApplicationRequest();
return TeaModel.build(map, self);
}
public ScaleK8sApplicationRequest setAppId(String appId) {
this.appId = appId;
return this;
}
public String getAppId() {
return this.appId;
}
public ScaleK8sApplicationRequest setReplicas(Integer replicas) {
this.replicas = replicas;
return this;
}
public Integer getReplicas() {
return this.replicas;
}
public ScaleK8sApplicationRequest setTimeout(Integer timeout) {
this.timeout = timeout;
return this;
}
public Integer getTimeout() {
return this.timeout;
}
}