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 the subdomain is included.
|
Long |
getMaxAge()
Get MaxAge value.
|
String |
getPreload()
Get Whether to enable preloading.
|
String |
getSwitch()
Get Whether to enable the configuration.
|
void |
setIncludeSubDomains(String IncludeSubDomains)
Set Specifies whether the subdomain is included.
|
void |
setMaxAge(Long MaxAge)
Set MaxAge value.
|
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, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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 - MaxAge value. expressed in seconds, maximum value is 1 day.public String getIncludeSubDomains()
public void setIncludeSubDomains(String IncludeSubDomains)
IncludeSubDomains - Specifies whether the subdomain is included. valid values:.
public String getPreload()
public void setPreload(String Preload)
Preload - Whether to enable preloading. valid values:.
Copyright © 2025. All rights reserved.