
com.tencentcloudapi.bmlb.v20180625.models.ModifyLoadBalancerRequest 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.bmlb.v20180625.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ModifyLoadBalancerRequest extends AbstractModel{
/**
* 负载均衡实例ID,可通过接口DescribeLoadBalancers查询。
*/
@SerializedName("LoadBalancerId")
@Expose
private String LoadBalancerId;
/**
* 负载均衡器名称,规则:1-20个英文、汉字、数字、连接线“-”或下划线“_”。
*/
@SerializedName("LoadBalancerName")
@Expose
private String LoadBalancerName;
/**
* 域名前缀,负载均衡的域名由用户输入的域名前缀与配置文件中的域名后缀一起组合而成,保证是唯一的域名。规则:1-20个小写英文字母、数字或连接线“-”。内网类型的负载均衡不能配置该字段。
*/
@SerializedName("DomainPrefix")
@Expose
private String DomainPrefix;
/**
* Get 负载均衡实例ID,可通过接口DescribeLoadBalancers查询。
* @return LoadBalancerId 负载均衡实例ID,可通过接口DescribeLoadBalancers查询。
*/
public String getLoadBalancerId() {
return this.LoadBalancerId;
}
/**
* Set 负载均衡实例ID,可通过接口DescribeLoadBalancers查询。
* @param LoadBalancerId 负载均衡实例ID,可通过接口DescribeLoadBalancers查询。
*/
public void setLoadBalancerId(String LoadBalancerId) {
this.LoadBalancerId = LoadBalancerId;
}
/**
* Get 负载均衡器名称,规则:1-20个英文、汉字、数字、连接线“-”或下划线“_”。
* @return LoadBalancerName 负载均衡器名称,规则:1-20个英文、汉字、数字、连接线“-”或下划线“_”。
*/
public String getLoadBalancerName() {
return this.LoadBalancerName;
}
/**
* Set 负载均衡器名称,规则:1-20个英文、汉字、数字、连接线“-”或下划线“_”。
* @param LoadBalancerName 负载均衡器名称,规则:1-20个英文、汉字、数字、连接线“-”或下划线“_”。
*/
public void setLoadBalancerName(String LoadBalancerName) {
this.LoadBalancerName = LoadBalancerName;
}
/**
* Get 域名前缀,负载均衡的域名由用户输入的域名前缀与配置文件中的域名后缀一起组合而成,保证是唯一的域名。规则:1-20个小写英文字母、数字或连接线“-”。内网类型的负载均衡不能配置该字段。
* @return DomainPrefix 域名前缀,负载均衡的域名由用户输入的域名前缀与配置文件中的域名后缀一起组合而成,保证是唯一的域名。规则:1-20个小写英文字母、数字或连接线“-”。内网类型的负载均衡不能配置该字段。
*/
public String getDomainPrefix() {
return this.DomainPrefix;
}
/**
* Set 域名前缀,负载均衡的域名由用户输入的域名前缀与配置文件中的域名后缀一起组合而成,保证是唯一的域名。规则:1-20个小写英文字母、数字或连接线“-”。内网类型的负载均衡不能配置该字段。
* @param DomainPrefix 域名前缀,负载均衡的域名由用户输入的域名前缀与配置文件中的域名后缀一起组合而成,保证是唯一的域名。规则:1-20个小写英文字母、数字或连接线“-”。内网类型的负载均衡不能配置该字段。
*/
public void setDomainPrefix(String DomainPrefix) {
this.DomainPrefix = DomainPrefix;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "LoadBalancerId", this.LoadBalancerId);
this.setParamSimple(map, prefix + "LoadBalancerName", this.LoadBalancerName);
this.setParamSimple(map, prefix + "DomainPrefix", this.DomainPrefix);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy