com.aliyun.sdk.service.iot20180120.models.CreateDownloadDataJobRequest 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 CreateDownloadDataJobRequest} extends {@link RequestModel}
*
* CreateDownloadDataJobRequest
*/
public class CreateDownloadDataJobRequest extends Request {
@Body
@NameInMap("Context")
private java.util.Map < String, ? > context;
@Query
@NameInMap("DownloadDataType")
@Validation(required = true)
private String downloadDataType;
@Query
@NameInMap("EndTime")
private Long endTime;
@Query
@NameInMap("FileConfig")
private java.util.Map < String, ? > fileConfig;
@Body
@NameInMap("IotInstanceId")
private String iotInstanceId;
@Query
@NameInMap("StartTime")
private Long startTime;
@Query
@NameInMap("TableName")
@Validation(required = true)
private String tableName;
private CreateDownloadDataJobRequest(Builder builder) {
super(builder);
this.context = builder.context;
this.downloadDataType = builder.downloadDataType;
this.endTime = builder.endTime;
this.fileConfig = builder.fileConfig;
this.iotInstanceId = builder.iotInstanceId;
this.startTime = builder.startTime;
this.tableName = builder.tableName;
}
public static Builder builder() {
return new Builder();
}
public static CreateDownloadDataJobRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return context
*/
public java.util.Map < String, ? > getContext() {
return this.context;
}
/**
* @return downloadDataType
*/
public String getDownloadDataType() {
return this.downloadDataType;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return fileConfig
*/
public java.util.Map < String, ? > getFileConfig() {
return this.fileConfig;
}
/**
* @return iotInstanceId
*/
public String getIotInstanceId() {
return this.iotInstanceId;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
/**
* @return tableName
*/
public String getTableName() {
return this.tableName;
}
public static final class Builder extends Request.Builder {
private java.util.Map < String, ? > context;
private String downloadDataType;
private Long endTime;
private java.util.Map < String, ? > fileConfig;
private String iotInstanceId;
private Long startTime;
private String tableName;
private Builder() {
super();
}
private Builder(CreateDownloadDataJobRequest request) {
super(request);
this.context = request.context;
this.downloadDataType = request.downloadDataType;
this.endTime = request.endTime;
this.fileConfig = request.fileConfig;
this.iotInstanceId = request.iotInstanceId;
this.startTime = request.startTime;
this.tableName = request.tableName;
}
/**
* Context.
*/
public Builder context(java.util.Map < String, ? > context) {
String contextShrink = shrink(context, "Context", "json");
this.putBodyParameter("Context", contextShrink);
this.context = context;
return this;
}
/**
* DownloadDataType.
*/
public Builder downloadDataType(String downloadDataType) {
this.putQueryParameter("DownloadDataType", downloadDataType);
this.downloadDataType = downloadDataType;
return this;
}
/**
* EndTime.
*/
public Builder endTime(Long endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* FileConfig.
*/
public Builder fileConfig(java.util.Map < String, ? > fileConfig) {
String fileConfigShrink = shrink(fileConfig, "FileConfig", "json");
this.putQueryParameter("FileConfig", fileConfigShrink);
this.fileConfig = fileConfig;
return this;
}
/**
* IotInstanceId.
*/
public Builder iotInstanceId(String iotInstanceId) {
this.putBodyParameter("IotInstanceId", iotInstanceId);
this.iotInstanceId = iotInstanceId;
return this;
}
/**
* StartTime.
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
/**
* TableName.
*/
public Builder tableName(String tableName) {
this.putQueryParameter("TableName", tableName);
this.tableName = tableName;
return this;
}
@Override
public CreateDownloadDataJobRequest build() {
return new CreateDownloadDataJobRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy