Class LocalObjectReference

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class LocalObjectReference
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
    • Constructor Detail

      • LocalObjectReference

        public LocalObjectReference​(java.lang.String name)
      • LocalObjectReference

        public LocalObjectReference()
    • Method Detail

      • getName

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object