![JAR search and dependency download from the Maven repository](/logo.png)
ksyun.client.slb.createalbrulegroup.v20160304.CreateAlbRuleGroupRequest Maven / Gradle / Ivy
package ksyun.client.slb.createalbrulegroup.v20160304;
import common.annotation.KsYunField;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;
import java.util.List;
import java.util.Arrays;
/**
* @Classname CreateAlbRuleGroupRequest
* @Description 请求参数
*/
@Data
public class CreateAlbRuleGroupRequest{
/**转发策略的名称*/
@KsYunField(name="AlbRuleGroupName")
private String AlbRuleGroupName;
/**应用型负载均衡监听器的ID*/
@KsYunField(name="AlbListenerId")
private String AlbListenerId;
/**后端服务器组的ID*/
@KsYunField(name="BackendServerGroupId")
private String BackendServerGroupId;
/**是否同步监听器的健康检查、会话保持和转发算法(on|off)*/
@KsYunField(name="ListenerSync")
private String ListenerSync;
/**监听器的转发方式(RoundRobin|LeastConnections)*/
@KsYunField(name="Method")
private String Method;
/**会话保持的状态,在ListenerSync为off时有效*/
@KsYunField(name="SessionState")
private String SessionState;
/**会话保持超时时间*/
@KsYunField(name="SessionPersistencePeriod")
private Integer SessionPersistencePeriod;
/**会话类型(ImplantCookie|RewriteCookie)*/
@KsYunField(name="CookieType")
private String CookieType;
/**Cookie的名称*/
@KsYunField(name="CookieName")
private String CookieName;
/**健康检查保持的状态(start|stop),在ListenerSync为off时有效*/
@KsYunField(name="HealthCheckState")
private String HealthCheckState;
/**健康检查超时时间*/
@KsYunField(name="Timeout")
private Integer Timeout;
/**健康检查时间间隔*/
@KsYunField(name="Interval")
private Integer Interval;
/**健康阈值*/
@KsYunField(name="HealthyThreshold")
private Integer HealthyThreshold;
/**不健康阈值*/
@KsYunField(name="UnhealthyThreshold")
private Integer UnhealthyThreshold;
/**HTTP类型监听器健康检查的链接*/
@KsYunField(name="UrlPath")
private String UrlPath;
/**HTTP类型健康检查的域名*/
@KsYunField(name="HostName")
private String HostName;
/**规则的信息*/
@KsYunField(name="AlbRuleSet",type=2)
private List AlbRuleSetList;
@Data
@ToString
public static class AlbRuleSetDto {
/**匹配规则类型(domain|url)*/
private String AlbRuleType;
/**匹配规则的值*/
private String AlbRuleValue;
}
/**重定向状态码
301|302|307*/
@KsYunField(name="RedirectHttpCode")
private String RedirectHttpCode;
/**重定向的监听器ID*/
@KsYunField(name="RedirectAlbListenerId")
private String RedirectAlbListenerId;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy