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

com.aliyun.sdk.service.ecs20140526.models.DeleteDiagnosticReportsRequest Maven / Gradle / Ivy

There is a newer version: 5.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DeleteDiagnosticReportsRequest} extends {@link RequestModel}
 *
 * 

DeleteDiagnosticReportsRequest

*/ public class DeleteDiagnosticReportsRequest extends Request { @com.aliyun.core.annotation.Host @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @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") @com.aliyun.core.annotation.Validation(required = true) private java.util.List < String > reportIds; private DeleteDiagnosticReportsRequest(Builder builder) { super(builder); this.resourceOwnerId = builder.resourceOwnerId; this.regionId = builder.regionId; this.reportIds = builder.reportIds; } public static Builder builder() { return new Builder(); } public static DeleteDiagnosticReportsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return reportIds */ public java.util.List < String > getReportIds() { return this.reportIds; } public static final class Builder extends Request.Builder { private Long resourceOwnerId; private String regionId; private java.util.List < String > reportIds; private Builder() { super(); } private Builder(DeleteDiagnosticReportsRequest request) { super(request); this.resourceOwnerId = request.resourceOwnerId; this.regionId = request.regionId; this.reportIds = request.reportIds; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putHostParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** *

The region ID of the diagnostic report. You can call the DescribeRegions operation to query the most recent region list.

*

This parameter is required.

* * example: *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** *

The IDs of diagnostic reports. You can specify up to 100 report IDs.

*

This parameter is required.

*/ public Builder reportIds(java.util.List < String > reportIds) { this.putQueryParameter("ReportIds", reportIds); this.reportIds = reportIds; return this; } @Override public DeleteDiagnosticReportsRequest build() { return new DeleteDiagnosticReportsRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy