com.aliyun.sdk.service.iot20180120.models.AddDataForApiSourceRequest 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 AddDataForApiSourceRequest} extends {@link RequestModel}
*
* AddDataForApiSourceRequest
*/
public class AddDataForApiSourceRequest extends Request {
@Query
@NameInMap("ApiId")
@Validation(required = true)
private String apiId;
@Query
@NameInMap("Content")
@Validation(required = true)
private String content;
@Query
@NameInMap("IotInstanceId")
@Validation(required = true)
private String iotInstanceId;
private AddDataForApiSourceRequest(Builder builder) {
super(builder);
this.apiId = builder.apiId;
this.content = builder.content;
this.iotInstanceId = builder.iotInstanceId;
}
public static Builder builder() {
return new Builder();
}
public static AddDataForApiSourceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return apiId
*/
public String getApiId() {
return this.apiId;
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
public static final class Builder extends Request.Builder {
private String apiId;
private String content;
private String iotInstanceId;
private Builder() {
super();
}
private Builder(AddDataForApiSourceRequest request) {
super(request);
this.apiId = request.apiId;
this.content = request.content;
this.iotInstanceId = request.iotInstanceId;
}
/**
* ApiId.
*/
public Builder apiId(String apiId) {
this.putQueryParameter("ApiId", apiId);
this.apiId = apiId;
return this;
}
/**
* Content.
*/
public Builder content(String content) {
this.putQueryParameter("Content", content);
this.content = content;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putQueryParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
@Override
public AddDataForApiSourceRequest build() {
return new AddDataForApiSourceRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy