com.aliyun.sdk.service.iot20180120.models.CreateEdgeInstanceChannelRequest 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 CreateEdgeInstanceChannelRequest} extends {@link RequestModel}
*
* CreateEdgeInstanceChannelRequest
*/
public class CreateEdgeInstanceChannelRequest extends Request {
@Query
@NameInMap("ChannelName")
@Validation(required = true)
private String channelName;
@Query
@NameInMap("Configs")
@Validation(required = true)
private java.util.List < Configs> configs;
@Query
@NameInMap("DriverId")
@Validation(required = true)
private String driverId;
@Query
@NameInMap("InstanceId")
@Validation(required = true)
private String instanceId;
@Query
@NameInMap("IotInstanceId")
private String iotInstanceId;
private CreateEdgeInstanceChannelRequest(Builder builder) {
super(builder);
this.channelName = builder.channelName;
this.configs = builder.configs;
this.driverId = builder.driverId;
this.instanceId = builder.instanceId;
this.iotInstanceId = builder.iotInstanceId;
}
public static Builder builder() {
return new Builder();
}
public static CreateEdgeInstanceChannelRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return channelName
*/
public String getChannelName() {
return this.channelName;
}
/**
* @return configs
*/
public java.util.List < Configs> getConfigs() {
return this.configs;
}
/**
* @return driverId
*/
public String getDriverId() {
return this.driverId;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
public static final class Builder extends Request.Builder {
private String channelName;
private java.util.List < Configs> configs;
private String driverId;
private String instanceId;
private String iotInstanceId;
private Builder() {
super();
}
private Builder(CreateEdgeInstanceChannelRequest request) {
super(request);
this.channelName = request.channelName;
this.configs = request.configs;
this.driverId = request.driverId;
this.instanceId = request.instanceId;
this.iotInstanceId = request.iotInstanceId;
}
/**
* ChannelName.
*/
public Builder channelName(String channelName) {
this.putQueryParameter("ChannelName", channelName);
this.channelName = channelName;
return this;
}
/**
* Configs.
*/
public Builder configs(java.util.List < Configs> configs) {
this.putQueryParameter("Configs", configs);
this.configs = configs;
return this;
}
/**
* DriverId.
*/
public Builder driverId(String driverId) {
this.putQueryParameter("DriverId", driverId);
this.driverId = driverId;
return this;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putQueryParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
@Override
public CreateEdgeInstanceChannelRequest build() {
return new CreateEdgeInstanceChannelRequest(this);
}
}
public static class Configs extends TeaModel {
@NameInMap("Content")
@Validation(required = true)
private String content;
@NameInMap("Format")
@Validation(required = true)
private String format;
@NameInMap("Key")
private String key;
private Configs(Builder builder) {
this.content = builder.content;
this.format = builder.format;
this.key = builder.key;
}
public static Builder builder() {
return new Builder();
}
public static Configs create() {
return builder().build();
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return format
*/
public String getFormat() {
return this.format;
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
public static final class Builder {
private String content;
private String format;
private String key;
/**
* Content.
*/
public Builder content(String content) {
this.content = content;
return this;
}
/**
* Format.
*/
public Builder format(String format) {
this.format = format;
return this;
}
/**
* Key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
public Configs build() {
return new Configs(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy