Package org.cdk8s.plus28.k8s
Interface KubeNetworkPolicyProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeNetworkPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.762Z") @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 classKubeNetworkPolicyProps.BuilderA builder forKubeNetworkPolicyPropsstatic classKubeNetworkPolicyProps.Jsii$ProxyAn implementation forKubeNetworkPolicyProps
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static KubeNetworkPolicyProps.Builderbuilder()default ObjectMetagetMetadata()Standard object's metadata.default NetworkPolicySpecgetSpec()spec represents the 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()
spec represents the specification of the desired behavior for this NetworkPolicy.
-
builder
@Stability(Stable) static KubeNetworkPolicyProps.Builder builder()
- Returns:
- a
KubeNetworkPolicyProps.BuilderofKubeNetworkPolicyProps
-
-