Package org.cdk8s.plus25.k8s
Interface KubeNetworkPolicyProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeNetworkPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.663Z") @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()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.BuilderofKubeNetworkPolicyProps
-
-