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

com.tencentcloudapi.teo.v20220901.models.RulesSettingAction Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.teo.v20220901.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class RulesSettingAction extends AbstractModel{

    /**
    * 功能名称,取值有:
  • 访问URL 重写(AccessUrlRedirect);
  • 回源 URL 重写 (UpstreamUrlRedirect);
  • 自定义错误页面 (ErrorPage);
  • QUIC(QUIC);
  • WebSocket (WebSocket);
  • 视频拖拽(VideoSeek);
  • Token 鉴权(Authentication);
  • 自定义CacheKey(CacheKey);
  • 节点缓存 TTL (Cache);
  • 浏览器缓存 TTL(MaxAge);
  • 离线缓存(OfflineCache);
  • 智能加速(SmartRouting);
  • 分片回源(RangeOriginPull);
  • HTTP/2 回源(UpstreamHttp2);
  • Host Header 重写(HostHeader);
  • 强制 HTTPS(ForceRedirect);
  • 回源 HTTPS(OriginPullProtocol);
  • 缓存预刷新(CachePrefresh);
  • 智能压缩(Compression);
  • 修改 HTTP 请求头(RequestHeader);
  • 修改HTTP响应头(ResponseHeader);
  • 状态码缓存 TTL(StatusCodeCache);
  • Hsts;
  • ClientIpHeader;
  • TlsVersion;
  • OcspStapling。
  • */ @SerializedName("Action") @Expose private String Action; /** * 参数信息。 */ @SerializedName("Properties") @Expose private RulesProperties [] Properties; /** * Get 功能名称,取值有:
  • 访问URL 重写(AccessUrlRedirect);
  • 回源 URL 重写 (UpstreamUrlRedirect);
  • 自定义错误页面 (ErrorPage);
  • QUIC(QUIC);
  • WebSocket (WebSocket);
  • 视频拖拽(VideoSeek);
  • Token 鉴权(Authentication);
  • 自定义CacheKey(CacheKey);
  • 节点缓存 TTL (Cache);
  • 浏览器缓存 TTL(MaxAge);
  • 离线缓存(OfflineCache);
  • 智能加速(SmartRouting);
  • 分片回源(RangeOriginPull);
  • HTTP/2 回源(UpstreamHttp2);
  • Host Header 重写(HostHeader);
  • 强制 HTTPS(ForceRedirect);
  • 回源 HTTPS(OriginPullProtocol);
  • 缓存预刷新(CachePrefresh);
  • 智能压缩(Compression);
  • 修改 HTTP 请求头(RequestHeader);
  • 修改HTTP响应头(ResponseHeader);
  • 状态码缓存 TTL(StatusCodeCache);
  • Hsts;
  • ClientIpHeader;
  • TlsVersion;
  • OcspStapling。
  • * @return Action 功能名称,取值有:
  • 访问URL 重写(AccessUrlRedirect);
  • 回源 URL 重写 (UpstreamUrlRedirect);
  • 自定义错误页面 (ErrorPage);
  • QUIC(QUIC);
  • WebSocket (WebSocket);
  • 视频拖拽(VideoSeek);
  • Token 鉴权(Authentication);
  • 自定义CacheKey(CacheKey);
  • 节点缓存 TTL (Cache);
  • 浏览器缓存 TTL(MaxAge);
  • 离线缓存(OfflineCache);
  • 智能加速(SmartRouting);
  • 分片回源(RangeOriginPull);
  • HTTP/2 回源(UpstreamHttp2);
  • Host Header 重写(HostHeader);
  • 强制 HTTPS(ForceRedirect);
  • 回源 HTTPS(OriginPullProtocol);
  • 缓存预刷新(CachePrefresh);
  • 智能压缩(Compression);
  • 修改 HTTP 请求头(RequestHeader);
  • 修改HTTP响应头(ResponseHeader);
  • 状态码缓存 TTL(StatusCodeCache);
  • Hsts;
  • ClientIpHeader;
  • TlsVersion;
  • OcspStapling。
  • */ public String getAction() { return this.Action; } /** * Set 功能名称,取值有:
  • 访问URL 重写(AccessUrlRedirect);
  • 回源 URL 重写 (UpstreamUrlRedirect);
  • 自定义错误页面 (ErrorPage);
  • QUIC(QUIC);
  • WebSocket (WebSocket);
  • 视频拖拽(VideoSeek);
  • Token 鉴权(Authentication);
  • 自定义CacheKey(CacheKey);
  • 节点缓存 TTL (Cache);
  • 浏览器缓存 TTL(MaxAge);
  • 离线缓存(OfflineCache);
  • 智能加速(SmartRouting);
  • 分片回源(RangeOriginPull);
  • HTTP/2 回源(UpstreamHttp2);
  • Host Header 重写(HostHeader);
  • 强制 HTTPS(ForceRedirect);
  • 回源 HTTPS(OriginPullProtocol);
  • 缓存预刷新(CachePrefresh);
  • 智能压缩(Compression);
  • 修改 HTTP 请求头(RequestHeader);
  • 修改HTTP响应头(ResponseHeader);
  • 状态码缓存 TTL(StatusCodeCache);
  • Hsts;
  • ClientIpHeader;
  • TlsVersion;
  • OcspStapling。
  • * @param Action 功能名称,取值有:
  • 访问URL 重写(AccessUrlRedirect);
  • 回源 URL 重写 (UpstreamUrlRedirect);
  • 自定义错误页面 (ErrorPage);
  • QUIC(QUIC);
  • WebSocket (WebSocket);
  • 视频拖拽(VideoSeek);
  • Token 鉴权(Authentication);
  • 自定义CacheKey(CacheKey);
  • 节点缓存 TTL (Cache);
  • 浏览器缓存 TTL(MaxAge);
  • 离线缓存(OfflineCache);
  • 智能加速(SmartRouting);
  • 分片回源(RangeOriginPull);
  • HTTP/2 回源(UpstreamHttp2);
  • Host Header 重写(HostHeader);
  • 强制 HTTPS(ForceRedirect);
  • 回源 HTTPS(OriginPullProtocol);
  • 缓存预刷新(CachePrefresh);
  • 智能压缩(Compression);
  • 修改 HTTP 请求头(RequestHeader);
  • 修改HTTP响应头(ResponseHeader);
  • 状态码缓存 TTL(StatusCodeCache);
  • Hsts;
  • ClientIpHeader;
  • TlsVersion;
  • OcspStapling。
  • */ public void setAction(String Action) { this.Action = Action; } /** * Get 参数信息。 * @return Properties 参数信息。 */ public RulesProperties [] getProperties() { return this.Properties; } /** * Set 参数信息。 * @param Properties 参数信息。 */ public void setProperties(RulesProperties [] Properties) { this.Properties = Properties; } public RulesSettingAction() { } /** * 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. */ public RulesSettingAction(RulesSettingAction source) { if (source.Action != null) { this.Action = new String(source.Action); } if (source.Properties != null) { this.Properties = new RulesProperties[source.Properties.length]; for (int i = 0; i < source.Properties.length; i++) { this.Properties[i] = new RulesProperties(source.Properties[i]); } } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Action", this.Action); this.setParamArrayObj(map, prefix + "Properties.", this.Properties); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy