Class UpsertIpAccessControlRequest


  • public class UpsertIpAccessControlRequest
    extends AbstractModel
    • Constructor Detail

      • UpsertIpAccessControlRequest

        public UpsertIpAccessControlRequest()
      • UpsertIpAccessControlRequest

        public UpsertIpAccessControlRequest​(UpsertIpAccessControlRequest 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

      • getDomain

        public String getDomain()
        Get 域名
        Returns:
        Domain 域名
      • setDomain

        public void setDomain​(String Domain)
        Set 域名
        Parameters:
        Domain - 域名
      • getItems

        public String[] getItems()
        Get ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
        Returns:
        Items ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
      • setItems

        public void setItems​(String[] Items)
        Set ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
        Parameters:
        Items - ip 参数列表,json数组由ip,source,note,action,valid_ts组成。ip对应配置的ip地址,source固定为custom值,note为注释,action值42为黑名单,40为白名单,valid_ts为有效日期,值为秒级时间戳((如1680570420代表2023-04-04 09:07:00))
      • getEdition

        public String getEdition()
        Get WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
        Returns:
        Edition WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
      • setEdition

        public void setEdition​(String Edition)
        Set WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
        Parameters:
        Edition - WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
      • getSourceType

        public String getSourceType()
        Get 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空
        Returns:
        SourceType 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空
      • setSourceType

        public void setSourceType​(String SourceType)
        Set 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空
        Parameters:
        SourceType - 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空