All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ess20220222.models.DescribeDiagnoseReportsRequest Maven / Gradle / Ivy

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 DescribeDiagnoseReportsRequest} extends {@link RequestModel}
 *
 * 

DescribeDiagnoseReportsRequest

*/ public class DescribeDiagnoseReportsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @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("ReportIds") private java.util.List < String > reportIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScalingGroupId") @com.aliyun.core.annotation.Validation(required = true) private String scalingGroupId; private DescribeDiagnoseReportsRequest(Builder builder) { super(builder); this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.reportIds = builder.reportIds; this.scalingGroupId = builder.scalingGroupId; } public static Builder builder() { return new Builder(); } public static DescribeDiagnoseReportsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return reportIds */ public java.util.List < String > getReportIds() { return this.reportIds; } /** * @return scalingGroupId */ public String getScalingGroupId() { return this.scalingGroupId; } public static final class Builder extends Request.Builder { private Integer pageNumber; private Integer pageSize; private String regionId; private java.util.List < String > reportIds; private String scalingGroupId; private Builder() { super(); } private Builder(DescribeDiagnoseReportsRequest request) { super(request); this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.reportIds = request.reportIds; this.scalingGroupId = request.scalingGroupId; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** *

This parameter is required.

* * example: *

cn-shenzhen

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ReportIds. */ public Builder reportIds(java.util.List < String > reportIds) { this.putQueryParameter("ReportIds", reportIds); this.reportIds = reportIds; return this; } /** *

This parameter is required.

* * example: *

asg-2vcis7yglxtm*****

*/ public Builder scalingGroupId(String scalingGroupId) { this.putQueryParameter("ScalingGroupId", scalingGroupId); this.scalingGroupId = scalingGroupId; return this; } @Override public DescribeDiagnoseReportsRequest build() { return new DescribeDiagnoseReportsRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy