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()
      API version of the referent
      @NonNull java.lang.String getKind()
      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 of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
      int hashCode()  
      void setApiVersion​(java.lang.String apiVersion)
      API version of the referent
      void setKind​(@NonNull java.lang.String kind)
      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 of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#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()
        API version of the referent
      • getKind

        @NonNull
        public @NonNull java.lang.String getKind()
        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 of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
      • setApiVersion

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

        public void setKind​(@NonNull
                            @NonNull java.lang.String kind)
        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 of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#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