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

com.aliyun.sdk.service.cs20151215.models.StopAlertRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;

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

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

StopAlertRequest

*/ public class StopAlertRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("alert_rule_group_name") private String alertRuleGroupName; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("alert_rule_name") private String alertRuleName; private StopAlertRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.alertRuleGroupName = builder.alertRuleGroupName; this.alertRuleName = builder.alertRuleName; } public static Builder builder() { return new Builder(); } public static StopAlertRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return alertRuleGroupName */ public String getAlertRuleGroupName() { return this.alertRuleGroupName; } /** * @return alertRuleName */ public String getAlertRuleName() { return this.alertRuleName; } public static final class Builder extends Request.Builder { private String clusterId; private String alertRuleGroupName; private String alertRuleName; private Builder() { super(); } private Builder(StopAlertRequest request) { super(request); this.clusterId = request.clusterId; this.alertRuleGroupName = request.alertRuleGroupName; this.alertRuleName = request.alertRuleName; } /** * The cluster ID. *

* * You can call the [ListClusters](~~87116~~) operation to obtain cluster IDs. */ public Builder clusterId(String clusterId) { this.putPathParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * The name of the alert rule set to be disabled. */ public Builder alertRuleGroupName(String alertRuleGroupName) { this.putBodyParameter("alert_rule_group_name", alertRuleGroupName); this.alertRuleGroupName = alertRuleGroupName; return this; } /** * The name of the alert rule to be disabled. If you do not specify an alert rule name, the alert rule set is disabled. */ public Builder alertRuleName(String alertRuleName) { this.putBodyParameter("alert_rule_name", alertRuleName); this.alertRuleName = alertRuleName; return this; } @Override public StopAlertRequest build() { return new StopAlertRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy