Class RoleRef

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

    public class RoleRef
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    RoleRef contains information that points to the role being used
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RoleRef.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      RoleRef()  
      RoleRef​(@NonNull java.lang.String apiGroup, @NonNull java.lang.String kind, @NonNull java.lang.String name)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static RoleRef.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      @NonNull java.lang.String getApiGroup()
      APIGroup is the group for the resource being referenced
      @NonNull java.lang.String getKind()
      Kind is the type of resource being referenced
      @NonNull java.lang.String getName()
      Name is the name of resource being referenced
      int hashCode()  
      void setApiGroup​(@NonNull java.lang.String apiGroup)
      APIGroup is the group for the resource being referenced
      void setKind​(@NonNull java.lang.String kind)
      Kind is the type of resource being referenced
      void setName​(@NonNull java.lang.String name)
      Name is the name of resource being referenced
      RoleRef.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • RoleRef

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

        public RoleRef()
    • Method Detail

      • getApiGroup

        @NonNull
        public @NonNull java.lang.String getApiGroup()
        APIGroup is the group for the resource being referenced
      • 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​(@NonNull
                                @NonNull java.lang.String apiGroup)
        APIGroup is the group for the resource being referenced
      • 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