com.tencentcloudapi.teo.v20220901.models.Action Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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 Action extends AbstractModel{
/**
* Common feature operation. Features of this type include:
`AccessUrlRedirect`: Access URL rewrite
`UpstreamUrlRedirect`: Origin-pull URL rewrite
`QUIC`: QUIC
`WebSocket`: WebSocket
`VideoSeek`: Video dragging
`Authentication`: Token authentication
`CacheKey`: Custom cache key
`Cache`: Node cache TTL
`MaxAge`: Browser cache TTL
`OfflineCache`: Offline cache
`SmartRouting`: Smart acceleration
`RangeOriginPull`: Range GETs
`UpstreamHttp2`: HTTP/2 forwarding
`HostHeader`: Host header rewrite
`ForceRedirect`: Force HTTPS
`OriginPullProtocol`: Origin-pull HTTPS
`CachePrefresh`: Cache prefresh
`Compression`: Smart compression
`Hsts`
`ClientIpHeader`
`TlsVersion`
`OcspStapling`
`Http2`: HTTP/2 access
`UpstreamFollowRedirect: Follow origin redirect
Note: This field may return `null`, indicating that no valid value can be obtained.
*/
@SerializedName("NormalAction")
@Expose
private NormalAction NormalAction;
/**
* Feature operation with a request/response header. Features of this type include:
`RequestHeader`: HTTP request header modification.
`ResponseHeader`: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("RewriteAction")
@Expose
private RewriteAction RewriteAction;
/**
* Feature operation with a status code. Features of this type include:
`ErrorPage`: Custom error page.
`StatusCodeCache`: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("CodeAction")
@Expose
private CodeAction CodeAction;
/**
* Get Common feature operation. Features of this type include:
`AccessUrlRedirect`: Access URL rewrite
`UpstreamUrlRedirect`: Origin-pull URL rewrite
`QUIC`: QUIC
`WebSocket`: WebSocket
`VideoSeek`: Video dragging
`Authentication`: Token authentication
`CacheKey`: Custom cache key
`Cache`: Node cache TTL
`MaxAge`: Browser cache TTL
`OfflineCache`: Offline cache
`SmartRouting`: Smart acceleration
`RangeOriginPull`: Range GETs
`UpstreamHttp2`: HTTP/2 forwarding
`HostHeader`: Host header rewrite
`ForceRedirect`: Force HTTPS
`OriginPullProtocol`: Origin-pull HTTPS
`CachePrefresh`: Cache prefresh
`Compression`: Smart compression
`Hsts`
`ClientIpHeader`
`TlsVersion`
`OcspStapling`
`Http2`: HTTP/2 access
`UpstreamFollowRedirect: Follow origin redirect
Note: This field may return `null`, indicating that no valid value can be obtained.
* @return NormalAction Common feature operation. Features of this type include:
`AccessUrlRedirect`: Access URL rewrite
`UpstreamUrlRedirect`: Origin-pull URL rewrite
`QUIC`: QUIC
`WebSocket`: WebSocket
`VideoSeek`: Video dragging
`Authentication`: Token authentication
`CacheKey`: Custom cache key
`Cache`: Node cache TTL
`MaxAge`: Browser cache TTL
`OfflineCache`: Offline cache
`SmartRouting`: Smart acceleration
`RangeOriginPull`: Range GETs
`UpstreamHttp2`: HTTP/2 forwarding
`HostHeader`: Host header rewrite
`ForceRedirect`: Force HTTPS
`OriginPullProtocol`: Origin-pull HTTPS
`CachePrefresh`: Cache prefresh
`Compression`: Smart compression
`Hsts`
`ClientIpHeader`
`TlsVersion`
`OcspStapling`
`Http2`: HTTP/2 access
`UpstreamFollowRedirect: Follow origin redirect
Note: This field may return `null`, indicating that no valid value can be obtained.
*/
public NormalAction getNormalAction() {
return this.NormalAction;
}
/**
* Set Common feature operation. Features of this type include:
`AccessUrlRedirect`: Access URL rewrite
`UpstreamUrlRedirect`: Origin-pull URL rewrite
`QUIC`: QUIC
`WebSocket`: WebSocket
`VideoSeek`: Video dragging
`Authentication`: Token authentication
`CacheKey`: Custom cache key
`Cache`: Node cache TTL
`MaxAge`: Browser cache TTL
`OfflineCache`: Offline cache
`SmartRouting`: Smart acceleration
`RangeOriginPull`: Range GETs
`UpstreamHttp2`: HTTP/2 forwarding
`HostHeader`: Host header rewrite
`ForceRedirect`: Force HTTPS
`OriginPullProtocol`: Origin-pull HTTPS
`CachePrefresh`: Cache prefresh
`Compression`: Smart compression
`Hsts`
`ClientIpHeader`
`TlsVersion`
`OcspStapling`
`Http2`: HTTP/2 access
`UpstreamFollowRedirect: Follow origin redirect
Note: This field may return `null`, indicating that no valid value can be obtained.
* @param NormalAction Common feature operation. Features of this type include:
`AccessUrlRedirect`: Access URL rewrite
`UpstreamUrlRedirect`: Origin-pull URL rewrite
`QUIC`: QUIC
`WebSocket`: WebSocket
`VideoSeek`: Video dragging
`Authentication`: Token authentication
`CacheKey`: Custom cache key
`Cache`: Node cache TTL
`MaxAge`: Browser cache TTL
`OfflineCache`: Offline cache
`SmartRouting`: Smart acceleration
`RangeOriginPull`: Range GETs
`UpstreamHttp2`: HTTP/2 forwarding
`HostHeader`: Host header rewrite
`ForceRedirect`: Force HTTPS
`OriginPullProtocol`: Origin-pull HTTPS
`CachePrefresh`: Cache prefresh
`Compression`: Smart compression
`Hsts`
`ClientIpHeader`
`TlsVersion`
`OcspStapling`
`Http2`: HTTP/2 access
`UpstreamFollowRedirect: Follow origin redirect
Note: This field may return `null`, indicating that no valid value can be obtained.
*/
public void setNormalAction(NormalAction NormalAction) {
this.NormalAction = NormalAction;
}
/**
* Get Feature operation with a request/response header. Features of this type include:
`RequestHeader`: HTTP request header modification.
`ResponseHeader`: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.
* @return RewriteAction Feature operation with a request/response header. Features of this type include:
`RequestHeader`: HTTP request header modification.
`ResponseHeader`: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public RewriteAction getRewriteAction() {
return this.RewriteAction;
}
/**
* Set Feature operation with a request/response header. Features of this type include:
`RequestHeader`: HTTP request header modification.
`ResponseHeader`: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.
* @param RewriteAction Feature operation with a request/response header. Features of this type include:
`RequestHeader`: HTTP request header modification.
`ResponseHeader`: HTTP response header modification.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setRewriteAction(RewriteAction RewriteAction) {
this.RewriteAction = RewriteAction;
}
/**
* Get Feature operation with a status code. Features of this type include:
`ErrorPage`: Custom error page.
`StatusCodeCache`: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.
* @return CodeAction Feature operation with a status code. Features of this type include:
`ErrorPage`: Custom error page.
`StatusCodeCache`: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public CodeAction getCodeAction() {
return this.CodeAction;
}
/**
* Set Feature operation with a status code. Features of this type include:
`ErrorPage`: Custom error page.
`StatusCodeCache`: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.
* @param CodeAction Feature operation with a status code. Features of this type include:
`ErrorPage`: Custom error page.
`StatusCodeCache`: Status code cache TTL.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setCodeAction(CodeAction CodeAction) {
this.CodeAction = CodeAction;
}
public Action() {
}
/**
* 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 Action(Action source) {
if (source.NormalAction != null) {
this.NormalAction = new NormalAction(source.NormalAction);
}
if (source.RewriteAction != null) {
this.RewriteAction = new RewriteAction(source.RewriteAction);
}
if (source.CodeAction != null) {
this.CodeAction = new CodeAction(source.CodeAction);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamObj(map, prefix + "NormalAction.", this.NormalAction);
this.setParamObj(map, prefix + "RewriteAction.", this.RewriteAction);
this.setParamObj(map, prefix + "CodeAction.", this.CodeAction);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy