public class ModifySecurityIPGroupRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ModifySecurityIPGroupRequest() | 
| ModifySecurityIPGroupRequest(ModifySecurityIPGroupRequest 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| IPGroup | getIPGroup()Get IP 组配置。 | 
| String | getMode()Get 操作类型,取值有: append: 向 IPGroup 中添加新的 IP 地址或设置定时过期时间;  remove: 从 IPGroup 中删除指定的 IP 地址或其定时过期时间;  update: 完全替换 IPGroup 中 Content 或 ExpireInfo 的内容,并且可以修改 IPGroup 的名称。    使用 append 操作时注意:    为 IP 或网段添加定时过期时间时,必须晚于当前时间。如果该 IP 或网段在组中不存在,必须同时在 Content 参数中添加该 IP 或网段。若该 IP 或网段已存在过期时间,则新时间将覆盖原有时间。  使用 remove 操作时注意:  删除 IP 或网段时,相关的未过期的定时过期时间也会被删除;  删除定时过期时间时,仅能删除当前未过期的时间。  使用 update 操作时注意:  替换 Content 内容时,不在 Content 中的 IP 或网段的未过期时间会被删除;  替换 IPExpireInfo 内容时,IPExpireInfo 中的 IP 或网段必须在 Content 中或在 IP 组中存在。 | 
| String | getZoneId()Get 站点 Id。 | 
| void | setIPGroup(IPGroup IPGroup)Set IP 组配置。 | 
| void | setMode(String Mode)Set 操作类型,取值有: append: 向 IPGroup 中添加新的 IP 地址或设置定时过期时间;  remove: 从 IPGroup 中删除指定的 IP 地址或其定时过期时间;  update: 完全替换 IPGroup 中 Content 或 ExpireInfo 的内容,并且可以修改 IPGroup 的名称。    使用 append 操作时注意:    为 IP 或网段添加定时过期时间时,必须晚于当前时间。如果该 IP 或网段在组中不存在,必须同时在 Content 参数中添加该 IP 或网段。若该 IP 或网段已存在过期时间,则新时间将覆盖原有时间。  使用 remove 操作时注意:  删除 IP 或网段时,相关的未过期的定时过期时间也会被删除;  删除定时过期时间时,仅能删除当前未过期的时间。  使用 update 操作时注意:  替换 Content 内容时,不在 Content 中的 IP 或网段的未过期时间会被删除;  替换 IPExpireInfo 内容时,IPExpireInfo 中的 IP 或网段必须在 Content 中或在 IP 组中存在。 | 
| void | setZoneId(String ZoneId)Set 站点 Id。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ModifySecurityIPGroupRequest()
public ModifySecurityIPGroupRequest(ModifySecurityIPGroupRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - 站点 Id。public IPGroup getIPGroup()
public void setIPGroup(IPGroup IPGroup)
IPGroup - IP 组配置。public String getMode()
public void setMode(String Mode)
Mode - 操作类型,取值有:Copyright © 2025. All rights reserved.