![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.clb.v20180317.models.DescribeLoadBalancersDetailRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.clb.v20180317.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 DescribeLoadBalancersDetailRequest extends AbstractModel {
/**
* Number of CLB instance lists returned. Default value: 20; maximum value: 100.
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* Starting offset of the CLB instance list returned. Default value: 0.
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see LoadBalancerDetail.
*/
@SerializedName("Fields")
@Expose
private String [] Fields;
/**
* When the Fields include TargetId, TargetAddress, TargetPort, TargetWeight, ListenerId, Protocol, Port, LocationId, Domain, and Url, you should select exporting the Target of the target group or a non-target group. Valid values: NODE, GROUP.
*/
@SerializedName("TargetType")
@Expose
private String TargetType;
/**
* Filter condition of querying lists describing CLB instance details:
loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678".
project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".
network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".
vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3".
target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".
vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".
zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".
tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".
tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.
fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".
*/
@SerializedName("Filters")
@Expose
private Filter [] Filters;
/**
* Get Number of CLB instance lists returned. Default value: 20; maximum value: 100.
* @return Limit Number of CLB instance lists returned. Default value: 20; maximum value: 100.
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set Number of CLB instance lists returned. Default value: 20; maximum value: 100.
* @param Limit Number of CLB instance lists returned. Default value: 20; maximum value: 100.
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get Starting offset of the CLB instance list returned. Default value: 0.
* @return Offset Starting offset of the CLB instance list returned. Default value: 0.
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set Starting offset of the CLB instance list returned. Default value: 0.
* @param Offset Starting offset of the CLB instance list returned. Default value: 0.
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
/**
* Get List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see LoadBalancerDetail.
* @return Fields List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see LoadBalancerDetail.
*/
public String [] getFields() {
return this.Fields;
}
/**
* Set List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see LoadBalancerDetail.
* @param Fields List of fields. Only fields specified will be returned. If it’s left blank, `null` is returned. The fields `LoadBalancerId` and `LoadBalancerName` are added by default. For details about fields, see LoadBalancerDetail.
*/
public void setFields(String [] Fields) {
this.Fields = Fields;
}
/**
* Get When the Fields include TargetId, TargetAddress, TargetPort, TargetWeight, ListenerId, Protocol, Port, LocationId, Domain, and Url, you should select exporting the Target of the target group or a non-target group. Valid values: NODE, GROUP.
* @return TargetType When the Fields include TargetId, TargetAddress, TargetPort, TargetWeight, ListenerId, Protocol, Port, LocationId, Domain, and Url, you should select exporting the Target of the target group or a non-target group. Valid values: NODE, GROUP.
*/
public String getTargetType() {
return this.TargetType;
}
/**
* Set When the Fields include TargetId, TargetAddress, TargetPort, TargetWeight, ListenerId, Protocol, Port, LocationId, Domain, and Url, you should select exporting the Target of the target group or a non-target group. Valid values: NODE, GROUP.
* @param TargetType When the Fields include TargetId, TargetAddress, TargetPort, TargetWeight, ListenerId, Protocol, Port, LocationId, Domain, and Url, you should select exporting the Target of the target group or a non-target group. Valid values: NODE, GROUP.
*/
public void setTargetType(String TargetType) {
this.TargetType = TargetType;
}
/**
* Get Filter condition of querying lists describing CLB instance details:
loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678".
project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".
network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".
vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3".
target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".
vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".
zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".
tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".
tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.
fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".
* @return Filters Filter condition of querying lists describing CLB instance details:
loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678".
project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".
network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".
vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3".
target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".
vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".
zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".
tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".
tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.
fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".
*/
public Filter [] getFilters() {
return this.Filters;
}
/**
* Set Filter condition of querying lists describing CLB instance details:
loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678".
project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".
network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".
vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3".
target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".
vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".
zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".
tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".
tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.
fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".
* @param Filters Filter condition of querying lists describing CLB instance details:
loadbalancer-id - String - Required: no - (Filter condition) CLB instance ID, such as "lb-12345678".
project-id - String - Required: no - (Filter condition) Project ID, such as "0" and "123".
network - String - Required: no - (Filter condition) Network type of the CLB instance, such as "Public" and "Private".
vip - String - Required: no - (Filter condition) CLB instance VIP, such as "1.1.1.1" and "2204::22:3".
target-ip - String - Required: no - (Filter condition) Private IP of the target real servers, such as"1.1.1.1" and "2203::214:4".
vpcid - String - Required: no - (Filter condition) Identifier of the VPC instance to which the CLB instance belongs, such as "vpc-12345678".
zone - String - Required: no - (Filter condition) Availability zone where the CLB instance resides, such as "ap-guangzhou-1".
tag-key - String - Required: no - (Filter condition) Tag key of the CLB instance, such as "name".
tag:* - String - Required: no - (Filter condition) CLB instance tag, followed by tag key after the colon ':'. For example, use {"Name": "tag:name","Values": ["zhangsan", "lisi"]} to filter the tag key “name” with the tag value “zhangsan” and “lisi”.
fuzzy-search - String - Required: no - (Filter condition) Fuzzy search for CLB instance VIP and CLB instance name, such as "1.1".
*/
public void setFilters(Filter [] Filters) {
this.Filters = Filters;
}
public DescribeLoadBalancersDetailRequest() {
}
/**
* 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 DescribeLoadBalancersDetailRequest(DescribeLoadBalancersDetailRequest source) {
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
if (source.Offset != null) {
this.Offset = new Long(source.Offset);
}
if (source.Fields != null) {
this.Fields = new String[source.Fields.length];
for (int i = 0; i < source.Fields.length; i++) {
this.Fields[i] = new String(source.Fields[i]);
}
}
if (source.TargetType != null) {
this.TargetType = new String(source.TargetType);
}
if (source.Filters != null) {
this.Filters = new Filter[source.Filters.length];
for (int i = 0; i < source.Filters.length; i++) {
this.Filters[i] = new Filter(source.Filters[i]);
}
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamSimple(map, prefix + "Offset", this.Offset);
this.setParamArraySimple(map, prefix + "Fields.", this.Fields);
this.setParamSimple(map, prefix + "TargetType", this.TargetType);
this.setParamArrayObj(map, prefix + "Filters.", this.Filters);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy