Class BindSubDomainRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.apigateway.v20180808.models.BindSubDomainRequest
-
public class BindSubDomainRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description BindSubDomainRequest()BindSubDomainRequest(BindSubDomainRequest source)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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCertificateId()Get 待绑定自定义域名的证书唯一 ID。针对Protocol 为https或http&https\u53ef\u4ee5\u9009\u62e9\u4e0a\u4f20。BooleangetIsDefaultMapping()Get 是否使用默认路径映射,默认为 true。为 false 时,表示自定义路径映射,此时 PathMappingSet 必填。BooleangetIsForcedHttps()Get 是否将HTTP请求强制跳转 HTTPS,默认为false。参数为 true时,API网关会将所有使用该自定义域名的 HTTP 协议的请求重定向至 HTTPS 协议进行转发。StringgetNetSubDomain()Get 默认域名。StringgetNetType()Get 网络类型,可选值为OUTER、INNER。PathMapping[]getPathMappingSet()Get 自定义域名路径映射,最多输入三个Environment,并且只能分别取值“test”、 ”prepub“、”release“。StringgetProtocol()Get 服务支持协议,可选值为http、https、http&https。StringgetServiceId()Get 服务唯一 ID。StringgetSubDomain()Get 待绑定的自定义的域名。voidsetCertificateId(String CertificateId)Set 待绑定自定义域名的证书唯一 ID。针对Protocol 为https或http&https\u53ef\u4ee5\u9009\u62e9\u4e0a\u4f20。voidsetIsDefaultMapping(Boolean IsDefaultMapping)Set 是否使用默认路径映射,默认为 true。为 false 时,表示自定义路径映射,此时 PathMappingSet 必填。voidsetIsForcedHttps(Boolean IsForcedHttps)Set 是否将HTTP请求强制跳转 HTTPS,默认为false。参数为 true时,API网关会将所有使用该自定义域名的 HTTP 协议的请求重定向至 HTTPS 协议进行转发。voidsetNetSubDomain(String NetSubDomain)Set 默认域名。voidsetNetType(String NetType)Set 网络类型,可选值为OUTER、INNER。voidsetPathMappingSet(PathMapping[] PathMappingSet)Set 自定义域名路径映射,最多输入三个Environment,并且只能分别取值“test”、 ”prepub“、”release“。voidsetProtocol(String Protocol)Set 服务支持协议,可选值为http、https、http&https。voidsetServiceId(String ServiceId)Set 服务唯一 ID。voidsetSubDomain(String SubDomain)Set 待绑定的自定义的域名。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
BindSubDomainRequest
public BindSubDomainRequest()
-
BindSubDomainRequest
public BindSubDomainRequest(BindSubDomainRequest source)
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.
-
-
Method Detail
-
getServiceId
public String getServiceId()
Get 服务唯一 ID。- Returns:
- ServiceId 服务唯一 ID。
-
setServiceId
public void setServiceId(String ServiceId)
Set 服务唯一 ID。- Parameters:
ServiceId- 服务唯一 ID。
-
getSubDomain
public String getSubDomain()
Get 待绑定的自定义的域名。- Returns:
- SubDomain 待绑定的自定义的域名。
-
setSubDomain
public void setSubDomain(String SubDomain)
Set 待绑定的自定义的域名。- Parameters:
SubDomain- 待绑定的自定义的域名。
-
getProtocol
public String getProtocol()
Get 服务支持协议,可选值为http、https、http&https。- Returns:
- Protocol 服务支持协议,可选值为http、https、http&https。
-
setProtocol
public void setProtocol(String Protocol)
Set 服务支持协议,可选值为http、https、http&https。- Parameters:
Protocol- 服务支持协议,可选值为http、https、http&https。
-
getNetType
public String getNetType()
Get 网络类型,可选值为OUTER、INNER。- Returns:
- NetType 网络类型,可选值为OUTER、INNER。
-
setNetType
public void setNetType(String NetType)
Set 网络类型,可选值为OUTER、INNER。- Parameters:
NetType- 网络类型,可选值为OUTER、INNER。
-
getIsDefaultMapping
public Boolean getIsDefaultMapping()
Get 是否使用默认路径映射,默认为 true。为 false 时,表示自定义路径映射,此时 PathMappingSet 必填。- Returns:
- IsDefaultMapping 是否使用默认路径映射,默认为 true。为 false 时,表示自定义路径映射,此时 PathMappingSet 必填。
-
setIsDefaultMapping
public void setIsDefaultMapping(Boolean IsDefaultMapping)
Set 是否使用默认路径映射,默认为 true。为 false 时,表示自定义路径映射,此时 PathMappingSet 必填。- Parameters:
IsDefaultMapping- 是否使用默认路径映射,默认为 true。为 false 时,表示自定义路径映射,此时 PathMappingSet 必填。
-
getNetSubDomain
public String getNetSubDomain()
Get 默认域名。- Returns:
- NetSubDomain 默认域名。
-
setNetSubDomain
public void setNetSubDomain(String NetSubDomain)
Set 默认域名。- Parameters:
NetSubDomain- 默认域名。
-
getCertificateId
public String getCertificateId()
Get 待绑定自定义域名的证书唯一 ID。针对Protocol 为https或http&https\u53ef\u4ee5\u9009\u62e9\u4e0a\u4f20。- Returns:
- CertificateId 待绑定自定义域名的证书唯一 ID。针对Protocol 为https或http&https\u53ef\u4ee5\u9009\u62e9\u4e0a\u4f20。
-
setCertificateId
public void setCertificateId(String CertificateId)
Set 待绑定自定义域名的证书唯一 ID。针对Protocol 为https或http&https\u53ef\u4ee5\u9009\u62e9\u4e0a\u4f20。- Parameters:
CertificateId- 待绑定自定义域名的证书唯一 ID。针对Protocol 为https或http&https\u53ef\u4ee5\u9009\u62e9\u4e0a\u4f20。
-
getPathMappingSet
public PathMapping[] getPathMappingSet()
Get 自定义域名路径映射,最多输入三个Environment,并且只能分别取值“test”、 ”prepub“、”release“。- Returns:
- PathMappingSet 自定义域名路径映射,最多输入三个Environment,并且只能分别取值“test”、 ”prepub“、”release“。
-
setPathMappingSet
public void setPathMappingSet(PathMapping[] PathMappingSet)
Set 自定义域名路径映射,最多输入三个Environment,并且只能分别取值“test”、 ”prepub“、”release“。- Parameters:
PathMappingSet- 自定义域名路径映射,最多输入三个Environment,并且只能分别取值“test”、 ”prepub“、”release“。
-
getIsForcedHttps
public Boolean getIsForcedHttps()
Get 是否将HTTP请求强制跳转 HTTPS,默认为false。参数为 true时,API网关会将所有使用该自定义域名的 HTTP 协议的请求重定向至 HTTPS 协议进行转发。- Returns:
- IsForcedHttps 是否将HTTP请求强制跳转 HTTPS,默认为false。参数为 true时,API网关会将所有使用该自定义域名的 HTTP 协议的请求重定向至 HTTPS 协议进行转发。
-
setIsForcedHttps
public void setIsForcedHttps(Boolean IsForcedHttps)
Set 是否将HTTP请求强制跳转 HTTPS,默认为false。参数为 true时,API网关会将所有使用该自定义域名的 HTTP 协议的请求重定向至 HTTPS 协议进行转发。- Parameters:
IsForcedHttps- 是否将HTTP请求强制跳转 HTTPS,默认为false。参数为 true时,API网关会将所有使用该自定义域名的 HTTP 协议的请求重定向至 HTTPS 协议进行转发。
-
-