public class UpdateAndPublishNetworkFirewallPolicyDetailRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| UpdateAndPublishNetworkFirewallPolicyDetailRequest() | 
| UpdateAndPublishNetworkFirewallPolicyDetailRequest(UpdateAndPublishNetworkFirewallPolicyDetailRequest 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 | 
|---|---|
| String | getClusterId()Get 集群Id | 
| NetworkCustomPolicy[] | getCustomPolicy()Get 自定义规则 | 
| String | getDescription()Get 策略描述 | 
| Long | getFromPolicyRule()Get 入站规则
全部允许:1
全部拒绝 :2
自定义:3 | 
| Long | getId()Get 策略Id | 
| String | getNamespace()Get 命名空间 | 
| String | getPodSelector()Get pod选择器 | 
| Long | getToPolicyRule()Get 出站规则
全部允许:1
全部拒绝 :2
自定义:3 | 
| void | setClusterId(String ClusterId)Set 集群Id | 
| void | setCustomPolicy(NetworkCustomPolicy[] CustomPolicy)Set 自定义规则 | 
| void | setDescription(String Description)Set 策略描述 | 
| void | setFromPolicyRule(Long FromPolicyRule)Set 入站规则
全部允许:1
全部拒绝 :2
自定义:3 | 
| void | setId(Long Id)Set 策略Id | 
| void | setNamespace(String Namespace)Set 命名空间 | 
| void | setPodSelector(String PodSelector)Set pod选择器 | 
| void | setToPolicyRule(Long ToPolicyRule)Set 出站规则
全部允许:1
全部拒绝 :2
自定义:3 | 
| 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 UpdateAndPublishNetworkFirewallPolicyDetailRequest()
public UpdateAndPublishNetworkFirewallPolicyDetailRequest(UpdateAndPublishNetworkFirewallPolicyDetailRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - 集群Idpublic Long getId()
public void setId(Long Id)
Id - 策略Idpublic Long getFromPolicyRule()
public void setFromPolicyRule(Long FromPolicyRule)
FromPolicyRule - 入站规则
全部允许:1
全部拒绝 :2
自定义:3public Long getToPolicyRule()
public void setToPolicyRule(Long ToPolicyRule)
ToPolicyRule - 出站规则
全部允许:1
全部拒绝 :2
自定义:3public String getPodSelector()
public void setPodSelector(String PodSelector)
PodSelector - pod选择器public String getNamespace()
public void setNamespace(String Namespace)
Namespace - 命名空间public String getDescription()
public void setDescription(String Description)
Description - 策略描述public NetworkCustomPolicy[] getCustomPolicy()
public void setCustomPolicy(NetworkCustomPolicy[] CustomPolicy)
CustomPolicy - 自定义规则Copyright © 2025. All rights reserved.