Class NetworkingV1Api.PatchNamespacedNetworkPolicy

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>
    Enclosing interface:
    NetworkingV1Api

    public static final class NetworkingV1Api.PatchNamespacedNetworkPolicy
    extends java.util.HashMap<java.lang.String,​java.lang.Object>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Detail

      • PatchNamespacedNetworkPolicy

        public PatchNamespacedNetworkPolicy()
    • Method Detail

      • dryRun

        public NetworkingV1Api.PatchNamespacedNetworkPolicy dryRun​(java.lang.String dryRun)
        When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
      • fieldManager

        public NetworkingV1Api.PatchNamespacedNetworkPolicy fieldManager​(java.lang.String fieldManager)
        fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).
      • fieldValidation

        public NetworkingV1Api.PatchNamespacedNetworkPolicy fieldValidation​(java.lang.String fieldValidation)
        fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.
      • force

        public NetworkingV1Api.PatchNamespacedNetworkPolicy force​(java.lang.Boolean force)
        Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.