com.aliyun.sdk.service.gpdb20160503.models.ListTablesResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-gpdb20160503 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.gpdb20160503.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ListTablesResponseBody} extends {@link TeaModel}
*
* ListTablesResponseBody
*/
public class ListTablesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Tables")
private Tables tables;
private ListTablesResponseBody(Builder builder) {
this.message = builder.message;
this.nextToken = builder.nextToken;
this.requestId = builder.requestId;
this.status = builder.status;
this.tables = builder.tables;
}
public static Builder builder() {
return new Builder();
}
public static ListTablesResponseBody create() {
return builder().build();
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return tables
*/
public Tables getTables() {
return this.tables;
}
public static final class Builder {
private String message;
private String nextToken;
private String requestId;
private String status;
private Tables tables;
/**
* The returned message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The status of the operation. Valid values:
*
*
* * **success**
* * **fail**
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* The queried tables.
*/
public Builder tables(Tables tables) {
this.tables = tables;
return this;
}
public ListTablesResponseBody build() {
return new ListTablesResponseBody(this);
}
}
public static class Tables extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Tables")
private java.util.List < String > tables;
private Tables(Builder builder) {
this.tables = builder.tables;
}
public static Builder builder() {
return new Builder();
}
public static Tables create() {
return builder().build();
}
/**
* @return tables
*/
public java.util.List < String > getTables() {
return this.tables;
}
public static final class Builder {
private java.util.List < String > tables;
/**
* The queried tables.
*/
public Builder tables(java.util.List < String > tables) {
this.tables = tables;
return this;
}
public Tables build() {
return new Tables(this);
}
}
}
}