com.aliyun.sdk.service.ecs20140526.models.DescribeDiagnosticReportAttributesRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeDiagnosticReportAttributesRequest} extends {@link RequestModel}
*
* DescribeDiagnosticReportAttributesRequest
*/
public class DescribeDiagnosticReportAttributesRequest extends Request {
@Host
@NameInMap("SourceRegionId")
private String sourceRegionId;
@Query
@NameInMap("RegionId")
@Validation(required = true)
private String regionId;
@Query
@NameInMap("ReportId")
@Validation(required = true)
private String reportId;
private DescribeDiagnosticReportAttributesRequest(Builder builder) {
super(builder);
this.sourceRegionId = builder.sourceRegionId;
this.regionId = builder.regionId;
this.reportId = builder.reportId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDiagnosticReportAttributesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return sourceRegionId
*/
public String getSourceRegionId() {
return this.sourceRegionId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return reportId
*/
public String getReportId() {
return this.reportId;
}
public static final class Builder extends Request.Builder {
private String sourceRegionId;
private String regionId;
private String reportId;
private Builder() {
super();
}
private Builder(DescribeDiagnosticReportAttributesRequest request) {
super(request);
this.sourceRegionId = request.sourceRegionId;
this.regionId = request.regionId;
this.reportId = request.reportId;
}
/**
* SourceRegionId.
*/
public Builder sourceRegionId(String sourceRegionId) {
this.putHostParameter("SourceRegionId", sourceRegionId);
this.sourceRegionId = sourceRegionId;
return this;
}
/**
* The region ID of the diagnostic report. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* The ID of the diagnostic report.
*/
public Builder reportId(String reportId) {
this.putQueryParameter("ReportId", reportId);
this.reportId = reportId;
return this;
}
@Override
public DescribeDiagnosticReportAttributesRequest build() {
return new DescribeDiagnosticReportAttributesRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy