com.aliyun.sdk.service.ess20220222.models.CreateScalingRuleResponseBody 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 CreateScalingRuleResponseBody} extends {@link TeaModel}
*
* CreateScalingRuleResponseBody
*/
public class CreateScalingRuleResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ScalingRuleAri")
private String scalingRuleAri;
@com.aliyun.core.annotation.NameInMap("ScalingRuleId")
private String scalingRuleId;
private CreateScalingRuleResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.scalingRuleAri = builder.scalingRuleAri;
this.scalingRuleId = builder.scalingRuleId;
}
public static Builder builder() {
return new Builder();
}
public static CreateScalingRuleResponseBody create() {
return builder().build();
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return scalingRuleAri
*/
public String getScalingRuleAri() {
return this.scalingRuleAri;
}
/**
* @return scalingRuleId
*/
public String getScalingRuleId() {
return this.scalingRuleId;
}
public static final class Builder {
private String requestId;
private String scalingRuleAri;
private String scalingRuleId;
/**
* The ID of the request.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The unique identifier of the scaling rule.
*
* example:
* ari:acs:ess:cn-hangzhou:140692647406****:scalingrule/asr-bp1dvirgwkoowxk7****
*/
public Builder scalingRuleAri(String scalingRuleAri) {
this.scalingRuleAri = scalingRuleAri;
return this;
}
/**
* The ID of the scaling rule, which is generated by the system and is globally unique.
*
* example:
* asr-bp1dvirgwkoowxk7****
*/
public Builder scalingRuleId(String scalingRuleId) {
this.scalingRuleId = scalingRuleId;
return this;
}
public CreateScalingRuleResponseBody build() {
return new CreateScalingRuleResponseBody(this);
}
}
}