All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.model.imagex.v2.GetDomainConfigResResultHttpsConfigHsts Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.model.imagex.v2;


import com.alibaba.fastjson.JSON;

/**
 * GetDomainConfigResResultHttpsConfigHsts
 */
@lombok.Data
public final class GetDomainConfigResResultHttpsConfigHsts  {

    /**
     * 

是否启用 HSTS 配置,取值如下所示:

* *

- `true`:启用

* *

- `false`:关闭

*/ @com.alibaba.fastjson.annotation.JSONField(name = "enabled") private Boolean enabled; /** *

HSTS 配置是否也应用于加速域名的子域名。取值如下所示:

* *

- `include`:应用于子域名站点。

* *

- `exclude`:不应用于子域名站点。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "subdomain") private String subdomain; /** *

Strict-Transport-Security 响应头在浏览器中的缓存过期时间,单位是秒。取值范围是 0 - 31,536,000。31,536,000 秒表示 365 天。如果该参数值为 0,其效果等同于禁用 HSTS 设置。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "ttl") private Integer ttl; @Override public String toString() { return JSON.toJSONString(this); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy