com.aliyun.sdk.service.iot20180120.models.BatchGetDeviceStateRequest 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 BatchGetDeviceStateRequest} extends {@link RequestModel}
*
* BatchGetDeviceStateRequest
*/
public class BatchGetDeviceStateRequest extends Request {
@Query
@NameInMap("DeviceName")
private java.util.List < String > deviceName;
@Query
@NameInMap("IotId")
private java.util.List < String > iotId;
@Query
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Query
@NameInMap("ProductKey")
private String productKey;
private BatchGetDeviceStateRequest(Builder builder) {
super(builder);
this.deviceName = builder.deviceName;
this.iotId = builder.iotId;
this.iotInstanceId = builder.iotInstanceId;
this.productKey = builder.productKey;
}
public static Builder builder() {
return new Builder();
}
public static BatchGetDeviceStateRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return deviceName
*/
public java.util.List < String > getDeviceName() {
return this.deviceName;
}
/**
* @return iotId
*/
public java.util.List < String > getIotId() {
return this.iotId;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return productKey
*/
public String getProductKey() {
return this.productKey;
}
public static final class Builder extends Request.Builder {
private java.util.List < String > deviceName;
private java.util.List < String > iotId;
private String iotInstanceId;
private String productKey;
private Builder() {
super();
}
private Builder(BatchGetDeviceStateRequest request) {
super(request);
this.deviceName = request.deviceName;
this.iotId = request.iotId;
this.iotInstanceId = request.iotInstanceId;
this.productKey = request.productKey;
}
/**
* DeviceName.
*/
public Builder deviceName(java.util.List < String > deviceName) {
this.putQueryParameter("DeviceName", deviceName);
this.deviceName = deviceName;
return this;
}
/**
* IotId.
*/
public Builder iotId(java.util.List < String > iotId) {
this.putQueryParameter("IotId", iotId);
this.iotId = iotId;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putQueryParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* ProductKey.
*/
public Builder productKey(String productKey) {
this.putQueryParameter("ProductKey", productKey);
this.productKey = productKey;
return this;
}
@Override
public BatchGetDeviceStateRequest build() {
return new BatchGetDeviceStateRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy