com.aliyun.sdk.service.ess20220222.models.DetachServerGroupsResponseBody 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 DetachServerGroupsResponseBody} extends {@link TeaModel}
*
* DetachServerGroupsResponseBody
*/
public class DetachServerGroupsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ScalingActivityId")
private String scalingActivityId;
private DetachServerGroupsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.scalingActivityId = builder.scalingActivityId;
}
public static Builder builder() {
return new Builder();
}
public static DetachServerGroupsResponseBody 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:
* 6EF9BFEE-FE07-4627-B8FB-14326FB9****
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The ID of the scaling activity. During the scaling activity, the server group is detached from the scaling group and the existing servers, which are the ECS instances or elastic container instances in the scaling group, are removed from the server group.
*
* This parameter is returned only if you set ForceDetach
to true
.
*
*
* example:
* asa-bp1gbswjhjrw8tko****
*/
public Builder scalingActivityId(String scalingActivityId) {
this.scalingActivityId = scalingActivityId;
return this;
}
public DetachServerGroupsResponseBody build() {
return new DetachServerGroupsResponseBody(this);
}
}
}