
com.aliyun.sdk.service.polardb20170801.models.DescribeAITaskStatusResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeAITaskStatusResponseBody} extends {@link TeaModel}
*
* DescribeAITaskStatusResponseBody
*/
public class DescribeAITaskStatusResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccountName")
private String accountName;
@com.aliyun.core.annotation.NameInMap("DBClusterId")
private String DBClusterId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("StatusName")
private String statusName;
private DescribeAITaskStatusResponseBody(Builder builder) {
this.accountName = builder.accountName;
this.DBClusterId = builder.DBClusterId;
this.requestId = builder.requestId;
this.status = builder.status;
this.statusName = builder.statusName;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAITaskStatusResponseBody create() {
return builder().build();
}
/**
* @return accountName
*/
public String getAccountName() {
return this.accountName;
}
/**
* @return DBClusterId
*/
public String getDBClusterId() {
return this.DBClusterId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return statusName
*/
public String getStatusName() {
return this.statusName;
}
public static final class Builder {
private String accountName;
private String DBClusterId;
private String requestId;
private String status;
private String statusName;
/**
* The name of the database account that is used to connect to the AI nodes in the cluster.
*
* example:
* testacc
*/
public Builder accountName(String accountName) {
this.accountName = accountName;
return this;
}
/**
* The cluster ID.
*
* example:
* pc-xxxxxxxxxx
*/
public Builder DBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
/**
* The request ID.
*
* example:
* 9B7BFB11-C077-4FE3-B051-F69CEB******
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The status of the PolarDB for AI feature. Valid values:
*
* - 1: enabled.
* - 2: disabled.
*
*
* example:
* 1
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* The description of the status of the PolarDB for AI feature.
*
* example:
* Closed State
*/
public Builder statusName(String statusName) {
this.statusName = statusName;
return this;
}
public DescribeAITaskStatusResponseBody build() {
return new DescribeAITaskStatusResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy