com.aliyun.sdk.service.ess20220222.models.DetachAlbServerGroupsResponseBody 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 DetachAlbServerGroupsResponseBody} extends {@link TeaModel}
*
* DetachAlbServerGroupsResponseBody
*/
public class DetachAlbServerGroupsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ScalingActivityId")
private String scalingActivityId;
private DetachAlbServerGroupsResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.scalingActivityId = builder.scalingActivityId;
}
public static Builder builder() {
return new Builder();
}
public static DetachAlbServerGroupsResponseBody 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-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The ID of the scaling activity during which the ALB server group is detached from the scaling group and the existing ECS instances are removed from the ALB server group. This parameter has a return value only if you set ForceDetach
to true
.
*
* example:
* asa-2ze6wxj8vsohn6j9****
*/
public Builder scalingActivityId(String scalingActivityId) {
this.scalingActivityId = scalingActivityId;
return this;
}
public DetachAlbServerGroupsResponseBody build() {
return new DetachAlbServerGroupsResponseBody(this);
}
}
}