com.aliyun.sdk.service.ess20220222.models.DescribeScalingGroupDiagnoseDetailsRequest 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 DescribeScalingGroupDiagnoseDetailsRequest} extends {@link RequestModel}
*
* DescribeScalingGroupDiagnoseDetailsRequest
*/
public class DescribeScalingGroupDiagnoseDetailsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ScalingGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String scalingGroupId;
private DescribeScalingGroupDiagnoseDetailsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.scalingGroupId = builder.scalingGroupId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeScalingGroupDiagnoseDetailsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return scalingGroupId
*/
public String getScalingGroupId() {
return this.scalingGroupId;
}
public static final class Builder extends Request.Builder {
private String regionId;
private String scalingGroupId;
private Builder() {
super();
}
private Builder(DescribeScalingGroupDiagnoseDetailsRequest request) {
super(request);
this.regionId = request.regionId;
this.scalingGroupId = request.scalingGroupId;
}
/**
* This parameter is required.
*
* example:
* cn-qingdao
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* This parameter is required.
*
* example:
* asg-bp18p2yfxow2dloq****
*/
public Builder scalingGroupId(String scalingGroupId) {
this.putQueryParameter("ScalingGroupId", scalingGroupId);
this.scalingGroupId = scalingGroupId;
return this;
}
@Override
public DescribeScalingGroupDiagnoseDetailsRequest build() {
return new DescribeScalingGroupDiagnoseDetailsRequest(this);
}
}
}