Class TypedLocalObjectReference

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

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

      • TypedLocalObjectReference

        public TypedLocalObjectReference​(java.lang.String apiGroup,
                                         @NonNull
                                         @NonNull java.lang.String kind,
                                         @NonNull
                                         @NonNull java.lang.String name)
      • TypedLocalObjectReference

        public TypedLocalObjectReference()
    • Method Detail

      • getApiGroup

        public java.lang.String getApiGroup()
        APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
      • getKind

        @NonNull
        public @NonNull java.lang.String getKind()
        Kind is the type of resource being referenced
      • getName

        @NonNull
        public @NonNull java.lang.String getName()
        Name is the name of resource being referenced
      • setApiGroup

        public void setApiGroup​(java.lang.String apiGroup)
        APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
      • setKind

        public void setKind​(@NonNull
                            @NonNull java.lang.String kind)
        Kind is the type of resource being referenced
      • setName

        public void setName​(@NonNull
                            @NonNull java.lang.String name)
        Name is the name of resource being referenced
      • 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