Package org.cdk8s.plus23
Class PodConnectionsAllowToOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus23.PodConnectionsAllowToOptions.Jsii$Proxy
-
- All Implemented Interfaces:
PodConnectionsAllowToOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PodConnectionsAllowToOptions
@Stability(Stable) @Internal public static final class PodConnectionsAllowToOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PodConnectionsAllowToOptions
An implementation forPodConnectionsAllowToOptions
-
-
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.PodConnectionsAllowToOptions
PodConnectionsAllowToOptions.Builder, PodConnectionsAllowToOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PodConnectionsAllowToOptions.Builder builder)Constructor that initializes the object based on literal property values passed by thePodConnectionsAllowToOptions.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)PodConnectionsIsolationgetIsolation()Which isolation should be applied to establish the connection.List<NetworkPolicyPort>getPorts()Ports to allow outgoing traffic to.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(PodConnectionsAllowToOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by thePodConnectionsAllowToOptions.Builder.
-
-
Method Detail
-
getIsolation
public final PodConnectionsIsolation getIsolation()
Description copied from interface:PodConnectionsAllowToOptionsWhich isolation should be applied to establish the connection.Default: - unset, isolates both the pod and the peer.
- Specified by:
getIsolationin interfacePodConnectionsAllowToOptions
-
getPorts
public final List<NetworkPolicyPort> getPorts()
Description copied from interface:PodConnectionsAllowToOptionsPorts to allow outgoing traffic to.Default: - If the peer is a managed pod, take its ports. Otherwise, all ports are allowed.
- Specified by:
getPortsin interfacePodConnectionsAllowToOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-