public class BindSubDomainRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getCertificateId()
Get Unique certificate ID of the custom domain name to be bound.
|
Boolean |
getIsDefaultMapping()
Get Whether the default path mapping is used.
|
Boolean |
getIsForcedHttps()
Get Whether to force HTTP requests to redirect to HTTPS.
|
String |
getNetSubDomain()
Get Default domain name.
|
String |
getNetType()
Get Network type.
|
PathMapping[] |
getPathMappingSet()
Get Custom domain name path mapping.
|
String |
getProtocol()
Get Protocol supported by service.
|
String |
getServiceId()
Get Unique service ID.
|
String |
getSubDomain()
Get Custom domain name to be bound.
|
void |
setCertificateId(String CertificateId)
Set Unique certificate ID of the custom domain name to be bound.
|
void |
setIsDefaultMapping(Boolean IsDefaultMapping)
Set Whether the default path mapping is used.
|
void |
setIsForcedHttps(Boolean IsForcedHttps)
Set Whether to force HTTP requests to redirect to HTTPS.
|
void |
setNetSubDomain(String NetSubDomain)
Set Default domain name.
|
void |
setNetType(String NetType)
Set Network type.
|
void |
setPathMappingSet(PathMapping[] PathMappingSet)
Set Custom domain name path mapping.
|
void |
setProtocol(String Protocol)
Set Protocol supported by service.
|
void |
setServiceId(String ServiceId)
Set Unique service ID.
|
void |
setSubDomain(String SubDomain)
Set Custom domain name to be bound.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public BindSubDomainRequest()
public BindSubDomainRequest(BindSubDomainRequest source)
public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId
- Unique service ID.public String getSubDomain()
public void setSubDomain(String SubDomain)
SubDomain
- Custom domain name to be bound.public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Protocol supported by service. Valid values: http, https, http&https.public String getNetType()
public void setNetType(String NetType)
NetType
- Network type. Valid values: OUTER, INNER.public Boolean getIsDefaultMapping()
public void setIsDefaultMapping(Boolean IsDefaultMapping)
IsDefaultMapping
- Whether the default path mapping is used. The default value is `true`. If the value is `false`, the custom path mapping will be used and `PathMappingSet` will be required in this case.public String getNetSubDomain()
public void setNetSubDomain(String NetSubDomain)
NetSubDomain
- Default domain name.public String getCertificateId()
public void setCertificateId(String CertificateId)
CertificateId
- Unique certificate ID of the custom domain name to be bound. The certificate can be uploaded if `Protocol` is `https` or `http&https`.public PathMapping[] getPathMappingSet()
public void setPathMappingSet(PathMapping[] PathMappingSet)
PathMappingSet
- Custom domain name path mapping. It can contain up to 3 `Environment` values which can be set to only `test`, `prepub`, and `release`, respectively.public Boolean getIsForcedHttps()
public void setIsForcedHttps(Boolean IsForcedHttps)
IsForcedHttps
- Whether to force HTTP requests to redirect to HTTPS. Default value: `false`. When this parameter is `true`, API Gateway will redirect all requests using the custom domain name over the HTTP protocol to the HTTPS protocol for forwarding.Copyright © 2023. All rights reserved.