Package org.cdk8s.plus24
Class NetworkPolicyTraffic.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.NetworkPolicyTraffic.Jsii$Proxy
-
- All Implemented Interfaces:
NetworkPolicyTraffic
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- NetworkPolicyTraffic
@Stability(Stable) @Internal public static final class NetworkPolicyTraffic.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NetworkPolicyTraffic
An implementation forNetworkPolicyTraffic
-
-
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.plus24.NetworkPolicyTraffic
NetworkPolicyTraffic.Builder, NetworkPolicyTraffic.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(NetworkPolicyTraffic.Builder builder)
Constructor that initializes the object based on literal property values passed by theNetworkPolicyTraffic.Builder
.protected
Jsii$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()
boolean
equals(Object o)
NetworkPolicyTrafficDefault
getDefaultValue()
Specifies the default behavior of the policy when no rules are defined.List<NetworkPolicyRule>
getRules()
List of rules to be applied to the selected pods.int
hashCode()
-
-
-
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(NetworkPolicyTraffic.Builder builder)
Constructor that initializes the object based on literal property values passed by theNetworkPolicyTraffic.Builder
.
-
-
Method Detail
-
getDefaultValue
public final NetworkPolicyTrafficDefault getDefaultValue()
Description copied from interface:NetworkPolicyTraffic
Specifies the default behavior of the policy when no rules are defined.Default: - unset, the policy does not change the behavior.
- Specified by:
getDefaultValue
in interfaceNetworkPolicyTraffic
-
getRules
public final List<NetworkPolicyRule> getRules()
Description copied from interface:NetworkPolicyTraffic
List of rules to be applied to the selected pods.If empty, the behavior of the policy is dictated by the
default
property.Default: - no rules
- Specified by:
getRules
in interfaceNetworkPolicyTraffic
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-