com.aliyun.sdk.service.ess20220222.models.AttachServerGroupsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ess20220222 Show documentation
Show all versions of alibabacloud-ess20220222 Show documentation
Alibaba Cloud Ess (20220222) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ess20220222.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link AttachServerGroupsResponseBody} extends {@link TeaModel}
*
* AttachServerGroupsResponseBody
*/
public class AttachServerGroupsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ScalingActivityId")
private String scalingActivityId;
private AttachServerGroupsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.scalingActivityId = builder.scalingActivityId;
}
public static Builder builder() {
return new Builder();
}
public static AttachServerGroupsResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return scalingActivityId
*/
public String getScalingActivityId() {
return this.scalingActivityId;
}
public static final class Builder {
private String requestId;
private String scalingActivityId;
/**
* The ID of the request.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The ID of the scaling activity. During the scaling activity, the server group is attached to the scaling group and the existing ECS instances or elastic container instances in the scaling group are added to the server group.
*
* This parameter is returned only if you set ForceAttach to true.
*
*
* example:
* asa-bp1c9djwrgxjyk31****
*/
public Builder scalingActivityId(String scalingActivityId) {
this.scalingActivityId = scalingActivityId;
return this;
}
public AttachServerGroupsResponseBody build() {
return new AttachServerGroupsResponseBody(this);
}
}
}