Class SyncObjectPatch

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<SyncObjectPatchBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class SyncObjectPatch
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SyncObjectPatchBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    SyncObjectPatch represents a patch to be applied to a specific object
    See Also:
    Serialized Form
    • Constructor Detail

      • SyncObjectPatch

        public SyncObjectPatch()
        No args constructor for use in serialization
    • Method Detail

      • getApiVersion

        public String getApiVersion()
        APIVersion is the Group and Version of the object to be patched.
      • setApiVersion

        public void setApiVersion​(String apiVersion)
        APIVersion is the Group and Version of the object to be patched.
      • getKind

        public String getKind()
        Kind is the Kind of the object to be patched.
      • setKind

        public void setKind​(String kind)
        Kind is the Kind of the object to be patched.
      • getName

        public String getName()
        Name is the name of the object to be patched.
      • setName

        public void setName​(String name)
        Name is the name of the object to be patched.
      • getNamespace

        public String getNamespace()
        Namespace is the Namespace in which the object to patch exists. Defaults to the SyncSet's Namespace.
      • setNamespace

        public void setNamespace​(String namespace)
        Namespace is the Namespace in which the object to patch exists. Defaults to the SyncSet's Namespace.
      • getPatch

        public String getPatch()
        Patch is the patch to apply.
      • setPatch

        public void setPatch​(String patch)
        Patch is the patch to apply.
      • getPatchType

        public String getPatchType()
        PatchType indicates the PatchType as "strategic" (default), "json", or "merge".
      • setPatchType

        public void setPatchType​(String patchType)
        PatchType indicates the PatchType as "strategic" (default), "json", or "merge".
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)