Package org.cdk8s.plus23.k8s
Interface KubeNetworkPolicyProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeNetworkPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.464Z") @Stability(Stable) public interface KubeNetworkPolicyProps extends software.amazon.jsii.JsiiSerializable
NetworkPolicy describes what network traffic is allowed for a set of Pods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KubeNetworkPolicyProps.Builder
A builder forKubeNetworkPolicyProps
static class
KubeNetworkPolicyProps.Jsii$Proxy
An implementation forKubeNetworkPolicyProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static KubeNetworkPolicyProps.Builder
builder()
default ObjectMeta
getMetadata()
Standard object's metadata.default NetworkPolicySpec
getSpec()
Specification of the desired behavior for this NetworkPolicy.
-
-
-
Method Detail
-
getMetadata
@Stability(Stable) @Nullable default ObjectMeta getMetadata()
Standard object's metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
-
getSpec
@Stability(Stable) @Nullable default NetworkPolicySpec getSpec()
Specification of the desired behavior for this NetworkPolicy.
-
builder
@Stability(Stable) static KubeNetworkPolicyProps.Builder builder()
- Returns:
- a
KubeNetworkPolicyProps.Builder
ofKubeNetworkPolicyProps
-
-