public class Hsts extends AbstractModel
header, skipSign
Constructor and Description |
---|
Hsts() |
Hsts(Hsts 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 |
getIncludeSubDomains()
Get Whether to contain subdomain names.
|
Long |
getMaxAge()
Get MaxAge (in seconds).
|
String |
getPreload()
Get Whether to enable preloading.
|
String |
getSwitch()
Get Whether to enable the configuration.
|
void |
setIncludeSubDomains(String IncludeSubDomains)
Set Whether to contain subdomain names.
|
void |
setMaxAge(Long MaxAge)
Set MaxAge (in seconds).
|
void |
setPreload(String Preload)
Set Whether to enable preloading.
|
void |
setSwitch(String Switch)
Set Whether to enable the configuration.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Hsts()
public Hsts(Hsts source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable the configuration. Values:
public Long getMaxAge()
public void setMaxAge(Long MaxAge)
MaxAge
- MaxAge (in seconds). The maximum value is 1 day.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getIncludeSubDomains()
public void setIncludeSubDomains(String IncludeSubDomains)
IncludeSubDomains
- Whether to contain subdomain names. Values:
public String getPreload()
public void setPreload(String Preload)
Preload
- Whether to enable preloading. Values:
Copyright © 2024. All rights reserved.