com.aliyun.sdk.service.iot20180120.models.UpdateSceneRuleRequest 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 UpdateSceneRuleRequest} extends {@link RequestModel}
*
* UpdateSceneRuleRequest
*/
public class UpdateSceneRuleRequest extends Request {
@Query
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Query
@NameInMap("RuleContent")
private String ruleContent;
@Query
@NameInMap("RuleDescription")
private String ruleDescription;
@Query
@NameInMap("RuleId")
@Validation(required = true)
private String ruleId;
@Query
@NameInMap("RuleName")
private String ruleName;
private UpdateSceneRuleRequest(Builder builder) {
super(builder);
this.iotInstanceId = builder.iotInstanceId;
this.ruleContent = builder.ruleContent;
this.ruleDescription = builder.ruleDescription;
this.ruleId = builder.ruleId;
this.ruleName = builder.ruleName;
}
public static Builder builder() {
return new Builder();
}
public static UpdateSceneRuleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return ruleContent
*/
public String getRuleContent() {
return this.ruleContent;
}
/**
* @return ruleDescription
*/
public String getRuleDescription() {
return this.ruleDescription;
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
/**
* @return ruleName
*/
public String getRuleName() {
return this.ruleName;
}
public static final class Builder extends Request.Builder {
private String iotInstanceId;
private String ruleContent;
private String ruleDescription;
private String ruleId;
private String ruleName;
private Builder() {
super();
}
private Builder(UpdateSceneRuleRequest request) {
super(request);
this.iotInstanceId = request.iotInstanceId;
this.ruleContent = request.ruleContent;
this.ruleDescription = request.ruleDescription;
this.ruleId = request.ruleId;
this.ruleName = request.ruleName;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putQueryParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* RuleContent.
*/
public Builder ruleContent(String ruleContent) {
this.putQueryParameter("RuleContent", ruleContent);
this.ruleContent = ruleContent;
return this;
}
/**
* RuleDescription.
*/
public Builder ruleDescription(String ruleDescription) {
this.putQueryParameter("RuleDescription", ruleDescription);
this.ruleDescription = ruleDescription;
return this;
}
/**
* RuleId.
*/
public Builder ruleId(String ruleId) {
this.putQueryParameter("RuleId", ruleId);
this.ruleId = ruleId;
return this;
}
/**
* RuleName.
*/
public Builder ruleName(String ruleName) {
this.putQueryParameter("RuleName", ruleName);
this.ruleName = ruleName;
return this;
}
@Override
public UpdateSceneRuleRequest build() {
return new UpdateSceneRuleRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy