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