public class Hsts extends AbstractModel
| 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 The MaxAge value 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 The MaxAge value 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic 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 - The MaxAge value in seconds. Maximum value: `86400` (one 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 © 2023. All rights reserved.