Class OwnerReference

    • Constructor Detail

      • OwnerReference

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

      • getApiVersion

        public String getApiVersion()
        API version of the referent.
      • setApiVersion

        public void setApiVersion​(String apiVersion)
        API version of the referent.
      • getBlockOwnerDeletion

        public Boolean getBlockOwnerDeletion()
        If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
      • setBlockOwnerDeletion

        public void setBlockOwnerDeletion​(Boolean blockOwnerDeletion)
        If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
      • getController

        public Boolean getController()
        If true, this reference points to the managing controller.
      • setController

        public void setController​(Boolean controller)
        If true, this reference points to the managing controller.
      • getKind

        public String getKind()
        Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      • setKind

        public void setKind​(String kind)
        Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      • getName

        public String getName()
        Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
      • setName

        public void setName​(String name)
        Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
      • getUid

        public String getUid()
        UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
      • setUid

        public void setUid​(String uid)
        UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
      • getAdditionalProperties

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

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

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