com.aliyun.sdk.service.iot20180120.models.TriggerSceneRuleRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-iot20180120 Show documentation
Show all versions of alibabacloud-iot20180120 Show documentation
Alibaba Cloud Iot (20180120) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link TriggerSceneRuleRequest} extends {@link RequestModel}
*
* TriggerSceneRuleRequest
*/
public class TriggerSceneRuleRequest extends Request {
@Query
@NameInMap("InstanceId")
private String instanceId;
@Query
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Query
@NameInMap("RuleId")
@Validation(required = true)
private String ruleId;
private TriggerSceneRuleRequest(Builder builder) {
super(builder);
this.instanceId = builder.instanceId;
this.iotInstanceId = builder.iotInstanceId;
this.ruleId = builder.ruleId;
}
public static Builder builder() {
return new Builder();
}
public static TriggerSceneRuleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
public static final class Builder extends Request.Builder {
private String instanceId;
private String iotInstanceId;
private String ruleId;
private Builder() {
super();
}
private Builder(TriggerSceneRuleRequest request) {
super(request);
this.instanceId = request.instanceId;
this.iotInstanceId = request.iotInstanceId;
this.ruleId = request.ruleId;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putQueryParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* RuleId.
*/
public Builder ruleId(String ruleId) {
this.putQueryParameter("RuleId", ruleId);
this.ruleId = ruleId;
return this;
}
@Override
public TriggerSceneRuleRequest build() {
return new TriggerSceneRuleRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy