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

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

There is a newer version: 1.0.25
Show 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 DisableAlarmRequest} extends {@link RequestModel}
 *
 * 

DisableAlarmRequest

*/ public class DisableAlarmRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AlarmTaskId") @com.aliyun.core.annotation.Validation(required = true) private String alarmTaskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @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("ResourceOwnerAccount") private String resourceOwnerAccount; private DisableAlarmRequest(Builder builder) { super(builder); this.alarmTaskId = builder.alarmTaskId; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; } public static Builder builder() { return new Builder(); } public static DisableAlarmRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return alarmTaskId */ public String getAlarmTaskId() { return this.alarmTaskId; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public static final class Builder extends Request.Builder { private String alarmTaskId; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Builder() { super(); } private Builder(DisableAlarmRequest request) { super(request); this.alarmTaskId = request.alarmTaskId; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; } /** * The ID of the event-triggered task. */ public Builder alarmTaskId(String alarmTaskId) { this.putQueryParameter("AlarmTaskId", alarmTaskId); this.alarmTaskId = alarmTaskId; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * The ID of the region. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } @Override public DisableAlarmRequest build() { return new DisableAlarmRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy