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

com.tencentcloudapi.teo.v20220901.models.ModifyApplicationProxyRequest 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.teo.v20220901.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class ModifyApplicationProxyRequest extends AbstractModel{

    /**
    * 站点ID。
    */
    @SerializedName("ZoneId")
    @Expose
    private String ZoneId;

    /**
    * 代理ID。
    */
    @SerializedName("ProxyId")
    @Expose
    private String ProxyId;

    /**
    * 当ProxyType=hostname时,表示域名或子域名;
当ProxyType=instance时,表示代理名称。
    */
    @SerializedName("ProxyName")
    @Expose
    private String ProxyName;

    /**
    * 会话保持时间,取值范围:30-3600,单位:秒。
不填写保持原有配置。
    */
    @SerializedName("SessionPersistTime")
    @Expose
    private Long SessionPersistTime;

    /**
    * 四层代理模式,取值有:
  • hostname:表示子域名模式;
  • instance:表示实例模式。
  • 不填写保持原有配置。 */ @SerializedName("ProxyType") @Expose private String ProxyType; /** * Ipv6访问配置,不填写保持原有配置。 */ @SerializedName("Ipv6") @Expose private Ipv6 Ipv6; /** * Get 站点ID。 * @return ZoneId 站点ID。 */ public String getZoneId() { return this.ZoneId; } /** * Set 站点ID。 * @param ZoneId 站点ID。 */ public void setZoneId(String ZoneId) { this.ZoneId = ZoneId; } /** * Get 代理ID。 * @return ProxyId 代理ID。 */ public String getProxyId() { return this.ProxyId; } /** * Set 代理ID。 * @param ProxyId 代理ID。 */ public void setProxyId(String ProxyId) { this.ProxyId = ProxyId; } /** * Get 当ProxyType=hostname时,表示域名或子域名; 当ProxyType=instance时,表示代理名称。 * @return ProxyName 当ProxyType=hostname时,表示域名或子域名; 当ProxyType=instance时,表示代理名称。 */ public String getProxyName() { return this.ProxyName; } /** * Set 当ProxyType=hostname时,表示域名或子域名; 当ProxyType=instance时,表示代理名称。 * @param ProxyName 当ProxyType=hostname时,表示域名或子域名; 当ProxyType=instance时,表示代理名称。 */ public void setProxyName(String ProxyName) { this.ProxyName = ProxyName; } /** * Get 会话保持时间,取值范围:30-3600,单位:秒。 不填写保持原有配置。 * @return SessionPersistTime 会话保持时间,取值范围:30-3600,单位:秒。 不填写保持原有配置。 */ public Long getSessionPersistTime() { return this.SessionPersistTime; } /** * Set 会话保持时间,取值范围:30-3600,单位:秒。 不填写保持原有配置。 * @param SessionPersistTime 会话保持时间,取值范围:30-3600,单位:秒。 不填写保持原有配置。 */ public void setSessionPersistTime(Long SessionPersistTime) { this.SessionPersistTime = SessionPersistTime; } /** * Get 四层代理模式,取值有:
  • hostname:表示子域名模式;
  • instance:表示实例模式。
  • 不填写保持原有配置。 * @return ProxyType 四层代理模式,取值有:
  • hostname:表示子域名模式;
  • instance:表示实例模式。
  • 不填写保持原有配置。 */ public String getProxyType() { return this.ProxyType; } /** * Set 四层代理模式,取值有:
  • hostname:表示子域名模式;
  • instance:表示实例模式。
  • 不填写保持原有配置。 * @param ProxyType 四层代理模式,取值有:
  • hostname:表示子域名模式;
  • instance:表示实例模式。
  • 不填写保持原有配置。 */ public void setProxyType(String ProxyType) { this.ProxyType = ProxyType; } /** * Get Ipv6访问配置,不填写保持原有配置。 * @return Ipv6 Ipv6访问配置,不填写保持原有配置。 */ public Ipv6 getIpv6() { return this.Ipv6; } /** * Set Ipv6访问配置,不填写保持原有配置。 * @param Ipv6 Ipv6访问配置,不填写保持原有配置。 */ public void setIpv6(Ipv6 Ipv6) { this.Ipv6 = Ipv6; } public ModifyApplicationProxyRequest() { } /** * 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 ModifyApplicationProxyRequest(ModifyApplicationProxyRequest source) { if (source.ZoneId != null) { this.ZoneId = new String(source.ZoneId); } if (source.ProxyId != null) { this.ProxyId = new String(source.ProxyId); } if (source.ProxyName != null) { this.ProxyName = new String(source.ProxyName); } if (source.SessionPersistTime != null) { this.SessionPersistTime = new Long(source.SessionPersistTime); } if (source.ProxyType != null) { this.ProxyType = new String(source.ProxyType); } if (source.Ipv6 != null) { this.Ipv6 = new Ipv6(source.Ipv6); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "ZoneId", this.ZoneId); this.setParamSimple(map, prefix + "ProxyId", this.ProxyId); this.setParamSimple(map, prefix + "ProxyName", this.ProxyName); this.setParamSimple(map, prefix + "SessionPersistTime", this.SessionPersistTime); this.setParamSimple(map, prefix + "ProxyType", this.ProxyType); this.setParamObj(map, prefix + "Ipv6.", this.Ipv6); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy