public class DescribeNetworkFirewallPolicyDetailResponse extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DescribeNetworkFirewallPolicyDetailResponse() |
DescribeNetworkFirewallPolicyDetailResponse(DescribeNetworkFirewallPolicyDetailResponse 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 入站类型
|
String |
getNamespace()
Get 命名空间
|
String |
getNetworkPolicyPlugin()
Get 网络策略对应的网络插件
|
String |
getPodSelector()
Get pod选择器
|
String |
getPolicyCreateTime()
Get 策略创建时间
|
String |
getPolicyName()
Get 策略名
|
String |
getPolicySourceType()
Get 策略源类型,分为System和Manual,分别代表手动和系统添加
|
String |
getPublishResult()
Get 网络发布结果
|
String |
getPublishStatus()
Get 网络策略状态
|
String |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
Long |
getToPolicyRule()
Get 出站类型
|
void |
setClusterId(String ClusterId)
Set 集群Id
|
void |
setCustomPolicy(NetworkCustomPolicy[] CustomPolicy)
Set 自定义规则
|
void |
setDescription(String Description)
Set 策略描述
|
void |
setFromPolicyRule(Long FromPolicyRule)
Set 入站类型
|
void |
setNamespace(String Namespace)
Set 命名空间
|
void |
setNetworkPolicyPlugin(String NetworkPolicyPlugin)
Set 网络策略对应的网络插件
|
void |
setPodSelector(String PodSelector)
Set pod选择器
|
void |
setPolicyCreateTime(String PolicyCreateTime)
Set 策略创建时间
|
void |
setPolicyName(String PolicyName)
Set 策略名
|
void |
setPolicySourceType(String PolicySourceType)
Set 策略源类型,分为System和Manual,分别代表手动和系统添加
|
void |
setPublishResult(String PublishResult)
Set 网络发布结果
|
void |
setPublishStatus(String PublishStatus)
Set 网络策略状态
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setToPolicyRule(Long ToPolicyRule)
Set 出站类型
|
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 DescribeNetworkFirewallPolicyDetailResponse()
public DescribeNetworkFirewallPolicyDetailResponse(DescribeNetworkFirewallPolicyDetailResponse source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - 集群Idpublic String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - 策略名public String getNamespace()
public void setNamespace(String Namespace)
Namespace - 命名空间public Long getFromPolicyRule()
public void setFromPolicyRule(Long FromPolicyRule)
FromPolicyRule - 入站类型public Long getToPolicyRule()
public void setToPolicyRule(Long ToPolicyRule)
ToPolicyRule - 出站类型public NetworkCustomPolicy[] getCustomPolicy()
public void setCustomPolicy(NetworkCustomPolicy[] CustomPolicy)
CustomPolicy - 自定义规则public String getPodSelector()
public void setPodSelector(String PodSelector)
PodSelector - pod选择器public String getDescription()
public void setDescription(String Description)
Description - 策略描述public String getPolicyCreateTime()
public void setPolicyCreateTime(String PolicyCreateTime)
PolicyCreateTime - 策略创建时间public String getPolicySourceType()
public void setPolicySourceType(String PolicySourceType)
PolicySourceType - 策略源类型,分为System和Manual,分别代表手动和系统添加public String getNetworkPolicyPlugin()
public void setNetworkPolicyPlugin(String NetworkPolicyPlugin)
NetworkPolicyPlugin - 网络策略对应的网络插件public String getPublishStatus()
public void setPublishStatus(String PublishStatus)
PublishStatus - 网络策略状态public String getPublishResult()
public void setPublishResult(String PublishResult)
PublishResult - 网络发布结果public String getRequestId()
public void setRequestId(String RequestId)
RequestId - 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2025. All rights reserved.