All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.emr20210320.models.GetDoctorHiveTableRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.emr20210320.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link GetDoctorHiveTableRequest} extends {@link RequestModel}
 *
 * 

GetDoctorHiveTableRequest

*/ public class GetDoctorHiveTableRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DateTime") @com.aliyun.core.annotation.Validation(required = true) private String dateTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TableName") @com.aliyun.core.annotation.Validation(required = true) private String tableName; private GetDoctorHiveTableRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.dateTime = builder.dateTime; this.regionId = builder.regionId; this.tableName = builder.tableName; } public static Builder builder() { return new Builder(); } public static GetDoctorHiveTableRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return dateTime */ public String getDateTime() { return this.dateTime; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return tableName */ public String getTableName() { return this.tableName; } public static final class Builder extends Request.Builder { private String clusterId; private String dateTime; private String regionId; private String tableName; private Builder() { super(); } private Builder(GetDoctorHiveTableRequest request) { super(request); this.clusterId = request.clusterId; this.dateTime = request.dateTime; this.regionId = request.regionId; this.tableName = request.tableName; } /** * The cluster ID. */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * Specify the date in the ISO 8601 standard. For example, 2023-01-01 represents January 1, 2023. */ public Builder dateTime(String dateTime) { this.putQueryParameter("DateTime", dateTime); this.dateTime = dateTime; return this; } /** * The region ID. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * The table name. The table name must follow the rule in Hive. A name in the {database name.table identifier} format uniquely identifies a table. */ public Builder tableName(String tableName) { this.putQueryParameter("TableName", tableName); this.tableName = tableName; return this; } @Override public GetDoctorHiveTableRequest build() { return new GetDoctorHiveTableRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy