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

com.aliyun.sdk.service.ecs20140526.models.DeleteDiagnosticMetricSetsRequest 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 DeleteDiagnosticMetricSetsRequest} extends {@link RequestModel}
 *
 * 

DeleteDiagnosticMetricSetsRequest

*/ public class DeleteDiagnosticMetricSetsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MetricSetIds") @com.aliyun.core.annotation.Validation(required = true) private java.util.List < String > metricSetIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private DeleteDiagnosticMetricSetsRequest(Builder builder) { super(builder); this.metricSetIds = builder.metricSetIds; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DeleteDiagnosticMetricSetsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return metricSetIds */ public java.util.List < String > getMetricSetIds() { return this.metricSetIds; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder { private java.util.List < String > metricSetIds; private String regionId; private Builder() { super(); } private Builder(DeleteDiagnosticMetricSetsRequest request) { super(request); this.metricSetIds = request.metricSetIds; this.regionId = request.regionId; } /** * The ID of diagnostic metric set. */ public Builder metricSetIds(java.util.List < String > metricSetIds) { this.putQueryParameter("MetricSetIds", metricSetIds); this.metricSetIds = metricSetIds; return this; } /** * The IDs of diagnostic metric sets. You can specify up to 10 set IDs. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DeleteDiagnosticMetricSetsRequest build() { return new DeleteDiagnosticMetricSetsRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy