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

com.aliyun.arms20190808.models.BlockAlarmNotificationRequest Maven / Gradle / Ivy

Go to download

Alibaba Cloud Application Real-Time Monitoring Service (20190808) SDK for Java

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

import com.aliyun.tea.*;

public class BlockAlarmNotificationRequest extends TeaModel {
    /**
     * 

The ID of the alert.

*

For more information about how to obtain the ID of an alert, see ListAlertEvents.

*

This parameter is required.

* * example: *

133

*/ @NameInMap("AlarmId") public Long alarmId; /** *

The ID of the alert handler.

* * example: *

2044049

*/ @NameInMap("HandlerId") public Long handlerId; /** *

The region ID.

*

This parameter is required.

* * example: *

cn-hangzhou

*/ @NameInMap("RegionId") public String regionId; /** *

The number of seconds that elapse before alert notifications are blocked. Unit: seconds.

*

This parameter is required.

* * example: *

180

*/ @NameInMap("Timeout") public Long timeout; public static BlockAlarmNotificationRequest build(java.util.Map map) throws Exception { BlockAlarmNotificationRequest self = new BlockAlarmNotificationRequest(); return TeaModel.build(map, self); } public BlockAlarmNotificationRequest setAlarmId(Long alarmId) { this.alarmId = alarmId; return this; } public Long getAlarmId() { return this.alarmId; } public BlockAlarmNotificationRequest setHandlerId(Long handlerId) { this.handlerId = handlerId; return this; } public Long getHandlerId() { return this.handlerId; } public BlockAlarmNotificationRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public BlockAlarmNotificationRequest setTimeout(Long timeout) { this.timeout = timeout; return this; } public Long getTimeout() { return this.timeout; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy