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

com.tencentcloudapi.tcb.v20180608.models.DatabasesInfo Maven / Gradle / Ivy

There is a newer version: 3.1.1076
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.tcb.v20180608.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DatabasesInfo extends AbstractModel{

    /**
    * 数据库唯一标识
    */
    @SerializedName("InstanceId")
    @Expose
    private String InstanceId;

    /**
    * 状态。包含以下取值:
  • INITIALIZING:资源初始化中
  • RUNNING:运行中,可正常使用的状态
  • UNUSABLE:禁用,不可用
  • OVERDUE:资源过期
  • */ @SerializedName("Status") @Expose private String Status; /** * 所属地域。 当前支持ap-shanghai */ @SerializedName("Region") @Expose private String Region; /** * Get 数据库唯一标识 * @return InstanceId 数据库唯一标识 */ public String getInstanceId() { return this.InstanceId; } /** * Set 数据库唯一标识 * @param InstanceId 数据库唯一标识 */ public void setInstanceId(String InstanceId) { this.InstanceId = InstanceId; } /** * Get 状态。包含以下取值:
  • INITIALIZING:资源初始化中
  • RUNNING:运行中,可正常使用的状态
  • UNUSABLE:禁用,不可用
  • OVERDUE:资源过期
  • * @return Status 状态。包含以下取值:
  • INITIALIZING:资源初始化中
  • RUNNING:运行中,可正常使用的状态
  • UNUSABLE:禁用,不可用
  • OVERDUE:资源过期
  • */ public String getStatus() { return this.Status; } /** * Set 状态。包含以下取值:
  • INITIALIZING:资源初始化中
  • RUNNING:运行中,可正常使用的状态
  • UNUSABLE:禁用,不可用
  • OVERDUE:资源过期
  • * @param Status 状态。包含以下取值:
  • INITIALIZING:资源初始化中
  • RUNNING:运行中,可正常使用的状态
  • UNUSABLE:禁用,不可用
  • OVERDUE:资源过期
  • */ public void setStatus(String Status) { this.Status = Status; } /** * Get 所属地域。 当前支持ap-shanghai * @return Region 所属地域。 当前支持ap-shanghai */ public String getRegion() { return this.Region; } /** * Set 所属地域。 当前支持ap-shanghai * @param Region 所属地域。 当前支持ap-shanghai */ public void setRegion(String Region) { this.Region = Region; } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "InstanceId", this.InstanceId); this.setParamSimple(map, prefix + "Status", this.Status); this.setParamSimple(map, prefix + "Region", this.Region); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy