com.aliyun.sdk.service.domain_intl20171218.models.PollTaskResultRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.domain_intl20171218.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link PollTaskResultRequest} extends {@link RequestModel}
*
* PollTaskResultRequest
*/
public class PollTaskResultRequest extends Request {
@Query
@NameInMap("DomainName")
private String domainName;
@Query
@NameInMap("InstanceId")
private String instanceId;
@Query
@NameInMap("Lang")
private String lang;
@Query
@NameInMap("PageNum")
@Validation(required = true)
private Integer pageNum;
@Query
@NameInMap("PageSize")
@Validation(required = true)
private Integer pageSize;
@Query
@NameInMap("TaskNo")
private String taskNo;
@Query
@NameInMap("TaskResultStatus")
private Integer taskResultStatus;
@Query
@NameInMap("UserClientIp")
private String userClientIp;
private PollTaskResultRequest(Builder builder) {
super(builder);
this.domainName = builder.domainName;
this.instanceId = builder.instanceId;
this.lang = builder.lang;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.taskNo = builder.taskNo;
this.taskResultStatus = builder.taskResultStatus;
this.userClientIp = builder.userClientIp;
}
public static Builder builder() {
return new Builder();
}
public static PollTaskResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return domainName
*/
public String getDomainName() {
return this.domainName;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return lang
*/
public String getLang() {
return this.lang;
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return taskNo
*/
public String getTaskNo() {
return this.taskNo;
}
/**
* @return taskResultStatus
*/
public Integer getTaskResultStatus() {
return this.taskResultStatus;
}
/**
* @return userClientIp
*/
public String getUserClientIp() {
return this.userClientIp;
}
public static final class Builder extends Request.Builder {
private String domainName;
private String instanceId;
private String lang;
private Integer pageNum;
private Integer pageSize;
private String taskNo;
private Integer taskResultStatus;
private String userClientIp;
private Builder() {
super();
}
private Builder(PollTaskResultRequest request) {
super(request);
this.domainName = request.domainName;
this.instanceId = request.instanceId;
this.lang = request.lang;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.taskNo = request.taskNo;
this.taskResultStatus = request.taskResultStatus;
this.userClientIp = request.userClientIp;
}
/**
* DomainName.
*/
public Builder domainName(String domainName) {
this.putQueryParameter("DomainName", domainName);
this.domainName = domainName;
return this;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* Lang.
*/
public Builder lang(String lang) {
this.putQueryParameter("Lang", lang);
this.lang = lang;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Integer pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* TaskNo.
*/
public Builder taskNo(String taskNo) {
this.putQueryParameter("TaskNo", taskNo);
this.taskNo = taskNo;
return this;
}
/**
* TaskResultStatus.
*/
public Builder taskResultStatus(Integer taskResultStatus) {
this.putQueryParameter("TaskResultStatus", taskResultStatus);
this.taskResultStatus = taskResultStatus;
return this;
}
/**
* UserClientIp.
*/
public Builder userClientIp(String userClientIp) {
this.putQueryParameter("UserClientIp", userClientIp);
this.userClientIp = userClientIp;
return this;
}
@Override
public PollTaskResultRequest build() {
return new PollTaskResultRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy