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

com.tencentcloudapi.redis.v20180412.models.DescribeInstanceDTSInstanceInfo Maven / Gradle / Ivy

/*
 * 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.redis.v20180412.models;

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

public class DescribeInstanceDTSInstanceInfo extends AbstractModel {

    /**
    * Region ID.
Note: This field may return null, indicating that no valid value can be obtained.
    */
    @SerializedName("RegionId")
    @Expose
    private Long RegionId;

    /**
    * Instance ID.
Note: This field may return null, indicating that no valid value can be obtained.
    */
    @SerializedName("InstanceId")
    @Expose
    private String InstanceId;

    /**
    * Warehouse ID.
Note: This field may return null, indicating that no valid value can be obtained.
    */
    @SerializedName("SetId")
    @Expose
    private Long SetId;

    /**
    * AZ ID.
Note: This field may return null, indicating that no valid value can be obtained.
    */
    @SerializedName("ZoneId")
    @Expose
    private Long ZoneId;

    /**
    * Instance type.
Note: This field may return null, indicating that no valid value can be obtained.
    */
    @SerializedName("Type")
    @Expose
    private Long Type;

    /**
    * Instance name.
Note: This field may return null, indicating that no valid value can be obtained.
    */
    @SerializedName("InstanceName")
    @Expose
    private String InstanceName;

    /**
    * Instance access address.
Note: This field may return null, indicating that no valid value can be obtained.
    */
    @SerializedName("Vip")
    @Expose
    private String Vip;

    /**
    * Status.
Note: This field may return null, indicating that no valid value can be obtained.
    */
    @SerializedName("Status")
    @Expose
    private Long Status;

    /**
     * Get Region ID.
Note: This field may return null, indicating that no valid value can be obtained. 
     * @return RegionId Region ID.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public Long getRegionId() {
        return this.RegionId;
    }

    /**
     * Set Region ID.
Note: This field may return null, indicating that no valid value can be obtained.
     * @param RegionId Region ID.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public void setRegionId(Long RegionId) {
        this.RegionId = RegionId;
    }

    /**
     * Get Instance ID.
Note: This field may return null, indicating that no valid value can be obtained. 
     * @return InstanceId Instance ID.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public String getInstanceId() {
        return this.InstanceId;
    }

    /**
     * Set Instance ID.
Note: This field may return null, indicating that no valid value can be obtained.
     * @param InstanceId Instance ID.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public void setInstanceId(String InstanceId) {
        this.InstanceId = InstanceId;
    }

    /**
     * Get Warehouse ID.
Note: This field may return null, indicating that no valid value can be obtained. 
     * @return SetId Warehouse ID.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public Long getSetId() {
        return this.SetId;
    }

    /**
     * Set Warehouse ID.
Note: This field may return null, indicating that no valid value can be obtained.
     * @param SetId Warehouse ID.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public void setSetId(Long SetId) {
        this.SetId = SetId;
    }

    /**
     * Get AZ ID.
Note: This field may return null, indicating that no valid value can be obtained. 
     * @return ZoneId AZ ID.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public Long getZoneId() {
        return this.ZoneId;
    }

    /**
     * Set AZ ID.
Note: This field may return null, indicating that no valid value can be obtained.
     * @param ZoneId AZ ID.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public void setZoneId(Long ZoneId) {
        this.ZoneId = ZoneId;
    }

    /**
     * Get Instance type.
Note: This field may return null, indicating that no valid value can be obtained. 
     * @return Type Instance type.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public Long getType() {
        return this.Type;
    }

    /**
     * Set Instance type.
Note: This field may return null, indicating that no valid value can be obtained.
     * @param Type Instance type.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public void setType(Long Type) {
        this.Type = Type;
    }

    /**
     * Get Instance name.
Note: This field may return null, indicating that no valid value can be obtained. 
     * @return InstanceName Instance name.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public String getInstanceName() {
        return this.InstanceName;
    }

    /**
     * Set Instance name.
Note: This field may return null, indicating that no valid value can be obtained.
     * @param InstanceName Instance name.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public void setInstanceName(String InstanceName) {
        this.InstanceName = InstanceName;
    }

    /**
     * Get Instance access address.
Note: This field may return null, indicating that no valid value can be obtained. 
     * @return Vip Instance access address.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public String getVip() {
        return this.Vip;
    }

    /**
     * Set Instance access address.
Note: This field may return null, indicating that no valid value can be obtained.
     * @param Vip Instance access address.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public void setVip(String Vip) {
        this.Vip = Vip;
    }

    /**
     * Get Status.
Note: This field may return null, indicating that no valid value can be obtained. 
     * @return Status Status.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public Long getStatus() {
        return this.Status;
    }

    /**
     * Set Status.
Note: This field may return null, indicating that no valid value can be obtained.
     * @param Status Status.
Note: This field may return null, indicating that no valid value can be obtained.
     */
    public void setStatus(Long Status) {
        this.Status = Status;
    }

    public DescribeInstanceDTSInstanceInfo() {
    }

    /**
     * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
     *       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
     */
    public DescribeInstanceDTSInstanceInfo(DescribeInstanceDTSInstanceInfo source) {
        if (source.RegionId != null) {
            this.RegionId = new Long(source.RegionId);
        }
        if (source.InstanceId != null) {
            this.InstanceId = new String(source.InstanceId);
        }
        if (source.SetId != null) {
            this.SetId = new Long(source.SetId);
        }
        if (source.ZoneId != null) {
            this.ZoneId = new Long(source.ZoneId);
        }
        if (source.Type != null) {
            this.Type = new Long(source.Type);
        }
        if (source.InstanceName != null) {
            this.InstanceName = new String(source.InstanceName);
        }
        if (source.Vip != null) {
            this.Vip = new String(source.Vip);
        }
        if (source.Status != null) {
            this.Status = new Long(source.Status);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "RegionId", this.RegionId);
        this.setParamSimple(map, prefix + "InstanceId", this.InstanceId);
        this.setParamSimple(map, prefix + "SetId", this.SetId);
        this.setParamSimple(map, prefix + "ZoneId", this.ZoneId);
        this.setParamSimple(map, prefix + "Type", this.Type);
        this.setParamSimple(map, prefix + "InstanceName", this.InstanceName);
        this.setParamSimple(map, prefix + "Vip", this.Vip);
        this.setParamSimple(map, prefix + "Status", this.Status);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy