com.tencentcloudapi.teo.v20220901.models.ModifyAccelerationDomainRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-teo Show documentation
Show all versions of tencentcloud-sdk-java-teo Show documentation
Tencent Cloud Open 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.teo.v20220901.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 ModifyAccelerationDomainRequest extends AbstractModel {
/**
* 加速域名所属站点ID。
*/
@SerializedName("ZoneId")
@Expose
private String ZoneId;
/**
* 加速域名名称。
*/
@SerializedName("DomainName")
@Expose
private String DomainName;
/**
* 源站信息。
*/
@SerializedName("OriginInfo")
@Expose
private OriginInfo OriginInfo;
/**
* 回源协议,取值有:
FOLLOW: 协议跟随;
HTTP: HTTP协议回源;
HTTPS: HTTPS协议回源。
不填保持原有配置。
*/
@SerializedName("OriginProtocol")
@Expose
private String OriginProtocol;
/**
* HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。
*/
@SerializedName("HttpOriginPort")
@Expose
private Long HttpOriginPort;
/**
* HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。
*/
@SerializedName("HttpsOriginPort")
@Expose
private Long HttpsOriginPort;
/**
* IPv6状态,取值有:
follow:遵循站点IPv6配置;
on:开启状态;
off:关闭状态。
不填保持原有配置。
*/
@SerializedName("IPv6Status")
@Expose
private String IPv6Status;
/**
* 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 加速域名名称。
* @return DomainName 加速域名名称。
*/
public String getDomainName() {
return this.DomainName;
}
/**
* Set 加速域名名称。
* @param DomainName 加速域名名称。
*/
public void setDomainName(String DomainName) {
this.DomainName = DomainName;
}
/**
* Get 源站信息。
* @return OriginInfo 源站信息。
*/
public OriginInfo getOriginInfo() {
return this.OriginInfo;
}
/**
* Set 源站信息。
* @param OriginInfo 源站信息。
*/
public void setOriginInfo(OriginInfo OriginInfo) {
this.OriginInfo = OriginInfo;
}
/**
* Get 回源协议,取值有:
FOLLOW: 协议跟随;
HTTP: HTTP协议回源;
HTTPS: HTTPS协议回源。
不填保持原有配置。
* @return OriginProtocol 回源协议,取值有:
FOLLOW: 协议跟随;
HTTP: HTTP协议回源;
HTTPS: HTTPS协议回源。
不填保持原有配置。
*/
public String getOriginProtocol() {
return this.OriginProtocol;
}
/**
* Set 回源协议,取值有:
FOLLOW: 协议跟随;
HTTP: HTTP协议回源;
HTTPS: HTTPS协议回源。
不填保持原有配置。
* @param OriginProtocol 回源协议,取值有:
FOLLOW: 协议跟随;
HTTP: HTTP协议回源;
HTTPS: HTTPS协议回源。
不填保持原有配置。
*/
public void setOriginProtocol(String OriginProtocol) {
this.OriginProtocol = OriginProtocol;
}
/**
* Get HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。
* @return HttpOriginPort HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。
*/
public Long getHttpOriginPort() {
return this.HttpOriginPort;
}
/**
* Set HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。
* @param HttpOriginPort HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。
*/
public void setHttpOriginPort(Long HttpOriginPort) {
this.HttpOriginPort = HttpOriginPort;
}
/**
* Get HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。
* @return HttpsOriginPort HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。
*/
public Long getHttpsOriginPort() {
return this.HttpsOriginPort;
}
/**
* Set HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。
* @param HttpsOriginPort HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。
*/
public void setHttpsOriginPort(Long HttpsOriginPort) {
this.HttpsOriginPort = HttpsOriginPort;
}
/**
* Get IPv6状态,取值有:
follow:遵循站点IPv6配置;
on:开启状态;
off:关闭状态。
不填保持原有配置。
* @return IPv6Status IPv6状态,取值有:
follow:遵循站点IPv6配置;
on:开启状态;
off:关闭状态。
不填保持原有配置。
*/
public String getIPv6Status() {
return this.IPv6Status;
}
/**
* Set IPv6状态,取值有:
follow:遵循站点IPv6配置;
on:开启状态;
off:关闭状态。
不填保持原有配置。
* @param IPv6Status IPv6状态,取值有:
follow:遵循站点IPv6配置;
on:开启状态;
off:关闭状态。
不填保持原有配置。
*/
public void setIPv6Status(String IPv6Status) {
this.IPv6Status = IPv6Status;
}
public ModifyAccelerationDomainRequest() {
}
/**
* 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 ModifyAccelerationDomainRequest(ModifyAccelerationDomainRequest source) {
if (source.ZoneId != null) {
this.ZoneId = new String(source.ZoneId);
}
if (source.DomainName != null) {
this.DomainName = new String(source.DomainName);
}
if (source.OriginInfo != null) {
this.OriginInfo = new OriginInfo(source.OriginInfo);
}
if (source.OriginProtocol != null) {
this.OriginProtocol = new String(source.OriginProtocol);
}
if (source.HttpOriginPort != null) {
this.HttpOriginPort = new Long(source.HttpOriginPort);
}
if (source.HttpsOriginPort != null) {
this.HttpsOriginPort = new Long(source.HttpsOriginPort);
}
if (source.IPv6Status != null) {
this.IPv6Status = new String(source.IPv6Status);
}
}
/**
* 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 + "DomainName", this.DomainName);
this.setParamObj(map, prefix + "OriginInfo.", this.OriginInfo);
this.setParamSimple(map, prefix + "OriginProtocol", this.OriginProtocol);
this.setParamSimple(map, prefix + "HttpOriginPort", this.HttpOriginPort);
this.setParamSimple(map, prefix + "HttpsOriginPort", this.HttpsOriginPort);
this.setParamSimple(map, prefix + "IPv6Status", this.IPv6Status);
}
}