com.aliyun.sdk.service.ess20220222.models.DisableAlarmRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ess20220222 Show documentation
Show all versions of alibabacloud-ess20220222 Show documentation
Alibaba Cloud Ess (20220222) Async SDK for Java
// 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);
}
}
}