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 Specifies whether to include subdomain names. 
 | 
Long | 
getMaxAge()
Get `MaxAge` value. 
 | 
String | 
getPreload()
Get Specifies whether to preload. 
 | 
String | 
getSwitch()
Get Specifies whether to enable. 
 | 
void | 
setIncludeSubDomains(String IncludeSubDomains)
Set Specifies whether to include subdomain names. 
 | 
void | 
setMaxAge(Long MaxAge)
Set `MaxAge` value. 
 | 
void | 
setPreload(String Preload)
Set Specifies whether to preload. 
 | 
void | 
setSwitch(String Switch)
Set Specifies whether to enable. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Hsts()
public Hsts(Hsts source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Specifies whether to enable. Valid values: `on` and `off`.public Long getMaxAge()
public void setMaxAge(Long MaxAge)
MaxAge - `MaxAge` value.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getIncludeSubDomains()
public void setIncludeSubDomains(String IncludeSubDomains)
IncludeSubDomains - Specifies whether to include subdomain names. Valid values: `on` and `off`.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getPreload()
public void setPreload(String Preload)
Preload - Specifies whether to preload. Valid values: `on` and `off`.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.