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

com.tencentcloudapi.es.v20180416.models.DescribeLogstashInstancesRequest 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribeLogstashInstancesRequest 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; /** * VpcId 筛选项 */ @SerializedName("VpcIds") @Expose private String [] VpcIds; /** * 标签信息列表 */ @SerializedName("TagList") @Expose private TagInfo [] TagList; /** * 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 VpcId 筛选项 * @return VpcIds VpcId 筛选项 */ public String [] getVpcIds() { return this.VpcIds; } /** * Set VpcId 筛选项 * @param VpcIds VpcId 筛选项 */ public void setVpcIds(String [] VpcIds) { this.VpcIds = VpcIds; } /** * Get 标签信息列表 * @return TagList 标签信息列表 */ public TagInfo [] getTagList() { return this.TagList; } /** * Set 标签信息列表 * @param TagList 标签信息列表 */ public void setTagList(TagInfo [] TagList) { this.TagList = TagList; } public DescribeLogstashInstancesRequest() { } /** * 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 DescribeLogstashInstancesRequest(DescribeLogstashInstancesRequest source) { if (source.Zone != null) { this.Zone = new String(source.Zone); } if (source.InstanceIds != null) { this.InstanceIds = new String[source.InstanceIds.length]; for (int i = 0; i < source.InstanceIds.length; i++) { this.InstanceIds[i] = new String(source.InstanceIds[i]); } } if (source.InstanceNames != null) { this.InstanceNames = new String[source.InstanceNames.length]; for (int i = 0; i < source.InstanceNames.length; i++) { this.InstanceNames[i] = new String(source.InstanceNames[i]); } } if (source.Offset != null) { this.Offset = new Long(source.Offset); } if (source.Limit != null) { this.Limit = new Long(source.Limit); } if (source.OrderByKey != null) { this.OrderByKey = new Long(source.OrderByKey); } if (source.OrderByType != null) { this.OrderByType = new Long(source.OrderByType); } if (source.VpcIds != null) { this.VpcIds = new String[source.VpcIds.length]; for (int i = 0; i < source.VpcIds.length; i++) { this.VpcIds[i] = new String(source.VpcIds[i]); } } if (source.TagList != null) { this.TagList = new TagInfo[source.TagList.length]; for (int i = 0; i < source.TagList.length; i++) { this.TagList[i] = new TagInfo(source.TagList[i]); } } } /** * 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.setParamArraySimple(map, prefix + "VpcIds.", this.VpcIds); this.setParamArrayObj(map, prefix + "TagList.", this.TagList); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy