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 Cluster ID
|
NetworkCustomPolicy[] |
getCustomPolicy()
Get Custom rule
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDescription()
Get Policy description
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getFromPolicyRule()
Get Inbound type
|
String |
getNamespace()
Get Namespace
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getNetworkPolicyPlugin()
Get Network plugin of the network policy
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPodSelector()
Get Pod selector
|
String |
getPolicyCreateTime()
Get Policy creation time
|
String |
getPolicyName()
Get Policy name
|
String |
getPolicySourceType()
Get Policy source type.
|
String |
getPublishResult()
Get Policy publishing result
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPublishStatus()
Get Network policy status
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
Long |
getToPolicyRule()
Get Outbound type
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setCustomPolicy(NetworkCustomPolicy[] CustomPolicy)
Set Custom rule
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDescription(String Description)
Set Policy description
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setFromPolicyRule(Long FromPolicyRule)
Set Inbound type
|
void |
setNamespace(String Namespace)
Set Namespace
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setNetworkPolicyPlugin(String NetworkPolicyPlugin)
Set Network plugin of the network policy
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPodSelector(String PodSelector)
Set Pod selector
|
void |
setPolicyCreateTime(String PolicyCreateTime)
Set Policy creation time
|
void |
setPolicyName(String PolicyName)
Set Policy name
|
void |
setPolicySourceType(String PolicySourceType)
Set Policy source type.
|
void |
setPublishResult(String PublishResult)
Set Policy publishing result
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPublishStatus(String PublishStatus)
Set Network policy status
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setToPolicyRule(Long ToPolicyRule)
Set Outbound type
|
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 - Cluster IDpublic String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - Policy namepublic String getNamespace()
public void setNamespace(String Namespace)
Namespace - Namespace
Note: This field may return null, indicating that no valid values can be obtained.public Long getFromPolicyRule()
public void setFromPolicyRule(Long FromPolicyRule)
FromPolicyRule - Inbound typepublic Long getToPolicyRule()
public void setToPolicyRule(Long ToPolicyRule)
ToPolicyRule - Outbound typepublic NetworkCustomPolicy[] getCustomPolicy()
public void setCustomPolicy(NetworkCustomPolicy[] CustomPolicy)
CustomPolicy - Custom rule
Note: This field may return null, indicating that no valid values can be obtained.public String getPodSelector()
public void setPodSelector(String PodSelector)
PodSelector - Pod selectorpublic String getDescription()
public void setDescription(String Description)
Description - Policy description
Note: This field may return null, indicating that no valid values can be obtained.public String getPolicyCreateTime()
public void setPolicyCreateTime(String PolicyCreateTime)
PolicyCreateTime - Policy creation timepublic String getPolicySourceType()
public void setPolicySourceType(String PolicySourceType)
PolicySourceType - Policy source type. Valid values: `System` (synched from the cluster); `Manual` (added manually).public String getNetworkPolicyPlugin()
public void setNetworkPolicyPlugin(String NetworkPolicyPlugin)
NetworkPolicyPlugin - Network plugin of the network policy
Note: This field may return null, indicating that no valid values can be obtained.public String getPublishStatus()
public void setPublishStatus(String PublishStatus)
PublishStatus - Network policy statuspublic String getPublishResult()
public void setPublishResult(String PublishResult)
PublishResult - Policy publishing result
Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.