Package org.cdk8s.plus23
Class NetworkPolicyTraffic.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus23.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.plus23.NetworkPolicyTraffic
NetworkPolicyTraffic.Builder, NetworkPolicyTraffic.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(NetworkPolicyTraffic.Builder builder)Constructor that initializes the object based on literal property values passed by theNetworkPolicyTraffic.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)NetworkPolicyTrafficDefaultgetDefaultValue()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.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(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:NetworkPolicyTrafficSpecifies the default behavior of the policy when no rules are defined.Default: - unset, the policy does not change the behavior.
- Specified by:
getDefaultValuein interfaceNetworkPolicyTraffic
-
getRules
public final List<NetworkPolicyRule> getRules()
Description copied from interface:NetworkPolicyTrafficList of rules to be applied to the selected pods.If empty, the behavior of the policy is dictated by the
defaultproperty.Default: - no rules
- Specified by:
getRulesin interfaceNetworkPolicyTraffic
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-