Package org.cdk8s.plus25
Class NetworkPolicyRule.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.NetworkPolicyRule.Jsii$Proxy
-
- All Implemented Interfaces:
NetworkPolicyRule,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- NetworkPolicyRule
@Stability(Stable) @Internal public static final class NetworkPolicyRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NetworkPolicyRule
An implementation forNetworkPolicyRule
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.NetworkPolicyRule
NetworkPolicyRule.Builder, NetworkPolicyRule.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(NetworkPolicyRule.Builder builder)Constructor that initializes the object based on literal property values passed by theNetworkPolicyRule.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)INetworkPolicyPeergetPeer()Peer this rule interacts with.List<NetworkPolicyPort>getPorts()The ports of the rule.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(NetworkPolicyRule.Builder builder)
Constructor that initializes the object based on literal property values passed by theNetworkPolicyRule.Builder.
-
-
Method Detail
-
getPeer
public final INetworkPolicyPeer getPeer()
Description copied from interface:NetworkPolicyRulePeer this rule interacts with.- Specified by:
getPeerin interfaceNetworkPolicyRule
-
getPorts
public final List<NetworkPolicyPort> getPorts()
Description copied from interface:NetworkPolicyRuleThe ports of the rule.Default: - traffic is allowed on all ports.
- Specified by:
getPortsin interfaceNetworkPolicyRule
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-