com.aliyun.sdk.service.searchplat20240529.models.GetImageAnalyzeTaskStatusRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-searchplat20240529 Show documentation
Show all versions of alibabacloud-searchplat20240529 Show documentation
Alibaba Cloud Searchplat (20240529) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.searchplat20240529.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetImageAnalyzeTaskStatusRequest} extends {@link RequestModel}
*
* GetImageAnalyzeTaskStatusRequest
*/
public class GetImageAnalyzeTaskStatusRequest extends Request {
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("workspace_name")
@com.aliyun.core.annotation.Validation(required = true)
private String workspaceName;
@com.aliyun.core.annotation.Path
@com.aliyun.core.annotation.NameInMap("service_id")
@com.aliyun.core.annotation.Validation(required = true)
private String serviceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("task_id")
@com.aliyun.core.annotation.Validation(required = true)
private String taskId;
private GetImageAnalyzeTaskStatusRequest(Builder builder) {
super(builder);
this.workspaceName = builder.workspaceName;
this.serviceId = builder.serviceId;
this.taskId = builder.taskId;
}
public static Builder builder() {
return new Builder();
}
public static GetImageAnalyzeTaskStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return workspaceName
*/
public String getWorkspaceName() {
return this.workspaceName;
}
/**
* @return serviceId
*/
public String getServiceId() {
return this.serviceId;
}
/**
* @return taskId
*/
public String getTaskId() {
return this.taskId;
}
public static final class Builder extends Request.Builder {
private String workspaceName;
private String serviceId;
private String taskId;
private Builder() {
super();
}
private Builder(GetImageAnalyzeTaskStatusRequest request) {
super(request);
this.workspaceName = request.workspaceName;
this.serviceId = request.serviceId;
this.taskId = request.taskId;
}
/**
* workspace_name.
*/
public Builder workspaceName(String workspaceName) {
this.putPathParameter("workspace_name", workspaceName);
this.workspaceName = workspaceName;
return this;
}
/**
* service_id.
*/
public Builder serviceId(String serviceId) {
this.putPathParameter("service_id", serviceId);
this.serviceId = serviceId;
return this;
}
/**
* task_id.
*/
public Builder taskId(String taskId) {
this.putQueryParameter("task_id", taskId);
this.taskId = taskId;
return this;
}
@Override
public GetImageAnalyzeTaskStatusRequest build() {
return new GetImageAnalyzeTaskStatusRequest(this);
}
}
}