com.aliyun.sdk.service.ess20220222.models.ApplyScalingGroupRequest 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
// 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 ApplyScalingGroupRequest} extends {@link RequestModel}
*
* ApplyScalingGroupRequest
*/
public class ApplyScalingGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Content")
@com.aliyun.core.annotation.Validation(required = true)
private String content;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Format")
private String format;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
private ApplyScalingGroupRequest(Builder builder) {
super(builder);
this.content = builder.content;
this.format = builder.format;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static ApplyScalingGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return format
*/
public String getFormat() {
return this.format;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder {
private String content;
private String format;
private String regionId;
private Builder() {
super();
}
private Builder(ApplyScalingGroupRequest request) {
super(request);
this.content = request.content;
this.format = request.format;
this.regionId = request.regionId;
}
/**
* The content of the configuration file.
*/
public Builder content(String content) {
this.putQueryParameter("Content", content);
this.content = content;
return this;
}
/**
* Format.
*/
public Builder format(String format) {
this.putQueryParameter("Format", format);
this.format = format;
return this;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
@Override
public ApplyScalingGroupRequest build() {
return new ApplyScalingGroupRequest(this);
}
}
}