
com.tencentcloudapi.bmlb.v20180625.models.ModifyLoadBalancerChargeModeRequest 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 ModifyLoadBalancerChargeModeRequest extends AbstractModel{
/**
* 负载均衡实例ID。
*/
@SerializedName("LoadBalancerId")
@Expose
private String LoadBalancerId;
/**
* 计费方式。flow或bandwidth。
*/
@SerializedName("PayMode")
@Expose
private String PayMode;
/**
* 监听器信息,当计费方式选为 bandwidth 且此负载均衡实例下存在监听器时需填入此字段,可以自定义每个监听器带宽上限。
*/
@SerializedName("ListenerSet")
@Expose
private ModifyLoadBalancerChargeModeListener [] ListenerSet;
/**
* Get 负载均衡实例ID。
* @return LoadBalancerId 负载均衡实例ID。
*/
public String getLoadBalancerId() {
return this.LoadBalancerId;
}
/**
* Set 负载均衡实例ID。
* @param LoadBalancerId 负载均衡实例ID。
*/
public void setLoadBalancerId(String LoadBalancerId) {
this.LoadBalancerId = LoadBalancerId;
}
/**
* Get 计费方式。flow或bandwidth。
* @return PayMode 计费方式。flow或bandwidth。
*/
public String getPayMode() {
return this.PayMode;
}
/**
* Set 计费方式。flow或bandwidth。
* @param PayMode 计费方式。flow或bandwidth。
*/
public void setPayMode(String PayMode) {
this.PayMode = PayMode;
}
/**
* Get 监听器信息,当计费方式选为 bandwidth 且此负载均衡实例下存在监听器时需填入此字段,可以自定义每个监听器带宽上限。
* @return ListenerSet 监听器信息,当计费方式选为 bandwidth 且此负载均衡实例下存在监听器时需填入此字段,可以自定义每个监听器带宽上限。
*/
public ModifyLoadBalancerChargeModeListener [] getListenerSet() {
return this.ListenerSet;
}
/**
* Set 监听器信息,当计费方式选为 bandwidth 且此负载均衡实例下存在监听器时需填入此字段,可以自定义每个监听器带宽上限。
* @param ListenerSet 监听器信息,当计费方式选为 bandwidth 且此负载均衡实例下存在监听器时需填入此字段,可以自定义每个监听器带宽上限。
*/
public void setListenerSet(ModifyLoadBalancerChargeModeListener [] ListenerSet) {
this.ListenerSet = ListenerSet;
}
/**
* 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 + "PayMode", this.PayMode);
this.setParamArrayObj(map, prefix + "ListenerSet.", this.ListenerSet);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy