Class CrossVersionObjectReference

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

    public class CrossVersionObjectReference
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    CrossVersionObjectReference contains enough information to let you identify the referred resource.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CrossVersionObjectReference.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getApiVersion()
      apiVersion is the API version of the referent
      @NonNull java.lang.String getKind()
      kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      @NonNull java.lang.String getName()
      name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      int hashCode()  
      void setApiVersion​(java.lang.String apiVersion)
      apiVersion is the API version of the referent
      void setKind​(@NonNull java.lang.String kind)
      kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      void setName​(@NonNull java.lang.String name)
      name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      CrossVersionObjectReference.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CrossVersionObjectReference

        public CrossVersionObjectReference​(java.lang.String apiVersion,
                                           @NonNull
                                           @NonNull java.lang.String kind,
                                           @NonNull
                                           @NonNull java.lang.String name)
      • CrossVersionObjectReference

        public CrossVersionObjectReference()
    • Method Detail

      • getApiVersion

        public java.lang.String getApiVersion()
        apiVersion is the API version of the referent
      • getKind

        @NonNull
        public @NonNull java.lang.String getKind()
        kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      • getName

        @NonNull
        public @NonNull java.lang.String getName()
        name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      • setApiVersion

        public void setApiVersion​(java.lang.String apiVersion)
        apiVersion is the API version of the referent
      • setKind

        public void setKind​(@NonNull
                            @NonNull java.lang.String kind)
        kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      • setName

        public void setName​(@NonNull
                            @NonNull java.lang.String name)
        name is the 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