
com.tencentcloudapi.es.v20180416.models.DescribeInstancesRequest 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.es.v20180416.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeInstancesRequest extends AbstractModel{
/**
* 集群实例所属可用区,不传则默认所有可用区
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* 集群实例ID列表
*/
@SerializedName("InstanceIds")
@Expose
private String [] InstanceIds;
/**
* 集群实例名称列表
*/
@SerializedName("InstanceNames")
@Expose
private String [] InstanceNames;
/**
* 分页起始值, 默认值0
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* 分页大小,默认值20
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* 排序字段1:实例ID 2:实例名称 3:可用区 4:创建时间 若orderKey未传递则按创建时间降序排序
*/
@SerializedName("OrderByKey")
@Expose
private Long OrderByKey;
/**
* 排序方式0:升序 1:降序 若传递了orderByKey未传递orderByType, 则默认升序
*/
@SerializedName("OrderByType")
@Expose
private Long OrderByType;
/**
* 节点标签信息列表
*/
@SerializedName("TagList")
@Expose
private TagInfo [] TagList;
/**
* 私有网络vip列表
*/
@SerializedName("IpList")
@Expose
private String [] IpList;
/**
* Get 集群实例所属可用区,不传则默认所有可用区
* @return Zone 集群实例所属可用区,不传则默认所有可用区
*/
public String getZone() {
return this.Zone;
}
/**
* Set 集群实例所属可用区,不传则默认所有可用区
* @param Zone 集群实例所属可用区,不传则默认所有可用区
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get 集群实例ID列表
* @return InstanceIds 集群实例ID列表
*/
public String [] getInstanceIds() {
return this.InstanceIds;
}
/**
* Set 集群实例ID列表
* @param InstanceIds 集群实例ID列表
*/
public void setInstanceIds(String [] InstanceIds) {
this.InstanceIds = InstanceIds;
}
/**
* Get 集群实例名称列表
* @return InstanceNames 集群实例名称列表
*/
public String [] getInstanceNames() {
return this.InstanceNames;
}
/**
* Set 集群实例名称列表
* @param InstanceNames 集群实例名称列表
*/
public void setInstanceNames(String [] InstanceNames) {
this.InstanceNames = InstanceNames;
}
/**
* Get 分页起始值, 默认值0
* @return Offset 分页起始值, 默认值0
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set 分页起始值, 默认值0
* @param Offset 分页起始值, 默认值0
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
/**
* Get 分页大小,默认值20
* @return Limit 分页大小,默认值20
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set 分页大小,默认值20
* @param Limit 分页大小,默认值20
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get 排序字段1:实例ID 2:实例名称 3:可用区 4:创建时间 若orderKey未传递则按创建时间降序排序
* @return OrderByKey 排序字段1:实例ID 2:实例名称 3:可用区 4:创建时间 若orderKey未传递则按创建时间降序排序
*/
public Long getOrderByKey() {
return this.OrderByKey;
}
/**
* Set 排序字段1:实例ID 2:实例名称 3:可用区 4:创建时间 若orderKey未传递则按创建时间降序排序
* @param OrderByKey 排序字段1:实例ID 2:实例名称 3:可用区 4:创建时间 若orderKey未传递则按创建时间降序排序
*/
public void setOrderByKey(Long OrderByKey) {
this.OrderByKey = OrderByKey;
}
/**
* Get 排序方式0:升序 1:降序 若传递了orderByKey未传递orderByType, 则默认升序
* @return OrderByType 排序方式0:升序 1:降序 若传递了orderByKey未传递orderByType, 则默认升序
*/
public Long getOrderByType() {
return this.OrderByType;
}
/**
* Set 排序方式0:升序 1:降序 若传递了orderByKey未传递orderByType, 则默认升序
* @param OrderByType 排序方式0:升序 1:降序 若传递了orderByKey未传递orderByType, 则默认升序
*/
public void setOrderByType(Long OrderByType) {
this.OrderByType = OrderByType;
}
/**
* Get 节点标签信息列表
* @return TagList 节点标签信息列表
*/
public TagInfo [] getTagList() {
return this.TagList;
}
/**
* Set 节点标签信息列表
* @param TagList 节点标签信息列表
*/
public void setTagList(TagInfo [] TagList) {
this.TagList = TagList;
}
/**
* Get 私有网络vip列表
* @return IpList 私有网络vip列表
*/
public String [] getIpList() {
return this.IpList;
}
/**
* Set 私有网络vip列表
* @param IpList 私有网络vip列表
*/
public void setIpList(String [] IpList) {
this.IpList = IpList;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
this.setParamArraySimple(map, prefix + "InstanceNames.", this.InstanceNames);
this.setParamSimple(map, prefix + "Offset", this.Offset);
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamSimple(map, prefix + "OrderByKey", this.OrderByKey);
this.setParamSimple(map, prefix + "OrderByType", this.OrderByType);
this.setParamArrayObj(map, prefix + "TagList.", this.TagList);
this.setParamArraySimple(map, prefix + "IpList.", this.IpList);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy