Class Hsts
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.Hsts
-
public class Hsts extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIncludeSubDomains()Get 是否包含子域名,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。LonggetMaxAge()Get MaxAge 数值。单位为秒,最大值为1天。 注意:此字段可能返回 null,表示取不到有效值。StringgetPreload()Get 是否开启预加载,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。StringgetSwitch()Get 是否开启,取值有: on:开启; off:关闭。voidsetIncludeSubDomains(String IncludeSubDomains)Set 是否包含子域名,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。voidsetMaxAge(Long MaxAge)Set MaxAge 数值。单位为秒,最大值为1天。 注意:此字段可能返回 null,表示取不到有效值。voidsetPreload(String Preload)Set 是否开启预加载,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。voidsetSwitch(String Switch)Set 是否开启,取值有: on:开启; off:关闭。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Hsts
public Hsts()
-
Hsts
public 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.
-
-
Method Detail
-
getSwitch
public String getSwitch()
Get 是否开启,取值有:- on:开启;
- off:关闭。
- Returns:
- Switch 是否开启,取值有:
- on:开启;
- off:关闭。
-
setSwitch
public void setSwitch(String Switch)
Set 是否开启,取值有:- on:开启;
- off:关闭。
- Parameters:
Switch- 是否开启,取值有:- on:开启;
- off:关闭。
-
getMaxAge
public Long getMaxAge()
Get MaxAge 数值。单位为秒,最大值为1天。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MaxAge MaxAge 数值。单位为秒,最大值为1天。 注意:此字段可能返回 null,表示取不到有效值。
-
setMaxAge
public void setMaxAge(Long MaxAge)
Set MaxAge 数值。单位为秒,最大值为1天。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MaxAge- MaxAge 数值。单位为秒,最大值为1天。 注意:此字段可能返回 null,表示取不到有效值。
-
getIncludeSubDomains
public String getIncludeSubDomains()
Get 是否包含子域名,取值有:- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IncludeSubDomains 是否包含子域名,取值有:
- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。
-
setIncludeSubDomains
public void setIncludeSubDomains(String IncludeSubDomains)
Set 是否包含子域名,取值有:- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IncludeSubDomains- 是否包含子域名,取值有:- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。
-
getPreload
public String getPreload()
Get 是否开启预加载,取值有:- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Preload 是否开启预加载,取值有:
- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。
-
setPreload
public void setPreload(String Preload)
Set 是否开启预加载,取值有:- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Preload- 是否开启预加载,取值有:- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。
-
-