com.aliyun.iot20180120.models.StartRuleRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot20180120 Show documentation
Show all versions of iot20180120 Show documentation
Alibaba Cloud IoT Platform (20180120) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;
import com.aliyun.tea.*;
public class StartRuleRequest extends TeaModel {
/**
* The ID of the instance. You can view the instance ID on the Overview page in the IoT Platform console.
*
*
* - If your instance has an ID, you must configure this parameter. If you do not set this parameter, the call fails.
* - If your instance has no Overview page or ID, you do not need to set this parameter.
*
*
* For more information, see Overview.
*
* example:
* iot_instc_pu****_c*-v64********
*/
@NameInMap("IotInstanceId")
public String iotInstanceId;
/**
* The ID of the rule that you want to enable. You can log on to the IoT Platform console and choose Rules > Data Forwarding to view the rule ID. You can also call the ListRule operation and view the rule ID in the response.
* This parameter is required.
*
* example:
* 100000
*/
@NameInMap("RuleId")
public Long ruleId;
public static StartRuleRequest build(java.util.Map map) throws Exception {
StartRuleRequest self = new StartRuleRequest();
return TeaModel.build(map, self);
}
public StartRuleRequest setIotInstanceId(String iotInstanceId) {
this.iotInstanceId = iotInstanceId;
return this;
}
public String getIotInstanceId() {
return this.iotInstanceId;
}
public StartRuleRequest setRuleId(Long ruleId) {
this.ruleId = ruleId;
return this;
}
public Long getRuleId() {
return this.ruleId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy