com.aliyun.sdk.service.iot20180120.models.ListDataSourceItemRequest 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 ListDataSourceItemRequest} extends {@link RequestModel}
*
* ListDataSourceItemRequest
*/
public class ListDataSourceItemRequest extends Request {
@Query
@NameInMap("DataSourceId")
@Validation(required = true)
private Long dataSourceId;
@Query
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Query
@NameInMap("Page")
@Validation(required = true, maximum = 100000, minimum = 1)
private Integer page;
@Query
@NameInMap("PageSize")
@Validation(required = true, maximum = 100, minimum = 1)
private Integer pageSize;
@Query
@NameInMap("SearchName")
private String searchName;
private ListDataSourceItemRequest(Builder builder) {
super(builder);
this.dataSourceId = builder.dataSourceId;
this.iotInstanceId = builder.iotInstanceId;
this.page = builder.page;
this.pageSize = builder.pageSize;
this.searchName = builder.searchName;
}
public static Builder builder() {
return new Builder();
}
public static ListDataSourceItemRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return dataSourceId
*/
public Long getDataSourceId() {
return this.dataSourceId;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return page
*/
public Integer getPage() {
return this.page;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return searchName
*/
public String getSearchName() {
return this.searchName;
}
public static final class Builder extends Request.Builder {
private Long dataSourceId;
private String iotInstanceId;
private Integer page;
private Integer pageSize;
private String searchName;
private Builder() {
super();
}
private Builder(ListDataSourceItemRequest request) {
super(request);
this.dataSourceId = request.dataSourceId;
this.iotInstanceId = request.iotInstanceId;
this.page = request.page;
this.pageSize = request.pageSize;
this.searchName = request.searchName;
}
/**
* DataSourceId.
*/
public Builder dataSourceId(Long dataSourceId) {
this.putQueryParameter("DataSourceId", dataSourceId);
this.dataSourceId = dataSourceId;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putQueryParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* Page.
*/
public Builder page(Integer page) {
this.putQueryParameter("Page", page);
this.page = page;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SearchName.
*/
public Builder searchName(String searchName) {
this.putQueryParameter("SearchName", searchName);
this.searchName = searchName;
return this;
}
@Override
public ListDataSourceItemRequest build() {
return new ListDataSourceItemRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy