com.aliyun.sdk.service.bpstudio20210931.models.GetFoTaskStatusResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-bpstudio20210931 Show documentation
Show all versions of alibabacloud-bpstudio20210931 Show documentation
Alibaba Cloud BPStudio (20210931) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.bpstudio20210931.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetFoTaskStatusResponseBody} extends {@link TeaModel}
*
* GetFoTaskStatusResponseBody
*/
public class GetFoTaskStatusResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("Data")
private String data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private GetFoTaskStatusResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static GetFoTaskStatusResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return data
*/
public String getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String code;
private String data;
private String message;
private String requestId;
/**
* The response code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* The status of the switchover task.
*/
public Builder data(String data) {
this.data = data;
return this;
}
/**
* The returned message. If the request was successful, a success message is returned. If the request failed, an error message is returned.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public GetFoTaskStatusResponseBody build() {
return new GetFoTaskStatusResponseBody(this);
}
}
}