![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.ecdn.v20191012.models.AdvanceHttps 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.ecdn.v20191012.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 AdvanceHttps extends AbstractModel {
/**
* Custom TLS data switch
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("CustomTlsStatus")
@Expose
private String CustomTlsStatus;
/**
* TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("TlsVersion")
@Expose
private String [] TlsVersion;
/**
* Custom encryption suite
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("Cipher")
@Expose
private String Cipher;
/**
* Origin-pull verification status
`off`: Disables origin-pull verification
`oneWay`: Only verify the origin
`twoWay`: Enables two-way origin-pull verification
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("VerifyOriginType")
@Expose
private String VerifyOriginType;
/**
* Configuration information of the origin-pull certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("CertInfo")
@Expose
private ServerCert CertInfo;
/**
* Configuration information of the origin server certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("OriginCertInfo")
@Expose
private ClientCert OriginCertInfo;
/**
* Get Custom TLS data switch
Note: This field may return `null`, indicating that no valid values can be obtained.
* @return CustomTlsStatus Custom TLS data switch
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public String getCustomTlsStatus() {
return this.CustomTlsStatus;
}
/**
* Set Custom TLS data switch
Note: This field may return `null`, indicating that no valid values can be obtained.
* @param CustomTlsStatus Custom TLS data switch
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public void setCustomTlsStatus(String CustomTlsStatus) {
this.CustomTlsStatus = CustomTlsStatus;
}
/**
* Get TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
Note: This field may return `null`, indicating that no valid values can be obtained.
* @return TlsVersion TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public String [] getTlsVersion() {
return this.TlsVersion;
}
/**
* Set TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
Note: This field may return `null`, indicating that no valid values can be obtained.
* @param TlsVersion TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public void setTlsVersion(String [] TlsVersion) {
this.TlsVersion = TlsVersion;
}
/**
* Get Custom encryption suite
Note: This field may return `null`, indicating that no valid values can be obtained.
* @return Cipher Custom encryption suite
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public String getCipher() {
return this.Cipher;
}
/**
* Set Custom encryption suite
Note: This field may return `null`, indicating that no valid values can be obtained.
* @param Cipher Custom encryption suite
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public void setCipher(String Cipher) {
this.Cipher = Cipher;
}
/**
* Get Origin-pull verification status
`off`: Disables origin-pull verification
`oneWay`: Only verify the origin
`twoWay`: Enables two-way origin-pull verification
Note: This field may return `null`, indicating that no valid values can be obtained.
* @return VerifyOriginType Origin-pull verification status
`off`: Disables origin-pull verification
`oneWay`: Only verify the origin
`twoWay`: Enables two-way origin-pull verification
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public String getVerifyOriginType() {
return this.VerifyOriginType;
}
/**
* Set Origin-pull verification status
`off`: Disables origin-pull verification
`oneWay`: Only verify the origin
`twoWay`: Enables two-way origin-pull verification
Note: This field may return `null`, indicating that no valid values can be obtained.
* @param VerifyOriginType Origin-pull verification status
`off`: Disables origin-pull verification
`oneWay`: Only verify the origin
`twoWay`: Enables two-way origin-pull verification
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public void setVerifyOriginType(String VerifyOriginType) {
this.VerifyOriginType = VerifyOriginType;
}
/**
* Get Configuration information of the origin-pull certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
* @return CertInfo Configuration information of the origin-pull certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public ServerCert getCertInfo() {
return this.CertInfo;
}
/**
* Set Configuration information of the origin-pull certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
* @param CertInfo Configuration information of the origin-pull certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public void setCertInfo(ServerCert CertInfo) {
this.CertInfo = CertInfo;
}
/**
* Get Configuration information of the origin server certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
* @return OriginCertInfo Configuration information of the origin server certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public ClientCert getOriginCertInfo() {
return this.OriginCertInfo;
}
/**
* Set Configuration information of the origin server certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
* @param OriginCertInfo Configuration information of the origin server certificate
Note: This field may return `null`, indicating that no valid values can be obtained.
*/
public void setOriginCertInfo(ClientCert OriginCertInfo) {
this.OriginCertInfo = OriginCertInfo;
}
public AdvanceHttps() {
}
/**
* 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 AdvanceHttps(AdvanceHttps source) {
if (source.CustomTlsStatus != null) {
this.CustomTlsStatus = new String(source.CustomTlsStatus);
}
if (source.TlsVersion != null) {
this.TlsVersion = new String[source.TlsVersion.length];
for (int i = 0; i < source.TlsVersion.length; i++) {
this.TlsVersion[i] = new String(source.TlsVersion[i]);
}
}
if (source.Cipher != null) {
this.Cipher = new String(source.Cipher);
}
if (source.VerifyOriginType != null) {
this.VerifyOriginType = new String(source.VerifyOriginType);
}
if (source.CertInfo != null) {
this.CertInfo = new ServerCert(source.CertInfo);
}
if (source.OriginCertInfo != null) {
this.OriginCertInfo = new ClientCert(source.OriginCertInfo);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CustomTlsStatus", this.CustomTlsStatus);
this.setParamArraySimple(map, prefix + "TlsVersion.", this.TlsVersion);
this.setParamSimple(map, prefix + "Cipher", this.Cipher);
this.setParamSimple(map, prefix + "VerifyOriginType", this.VerifyOriginType);
this.setParamObj(map, prefix + "CertInfo.", this.CertInfo);
this.setParamObj(map, prefix + "OriginCertInfo.", this.OriginCertInfo);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy