Class IngressClassParametersReference

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

    public class IngressClassParametersReference
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static IngressClassParametersReference.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      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.
      java.lang.String getNamespace()
      namespace is the namespace of the resource being referenced.
      java.lang.String getScope()
      scope represents if this refers to a cluster or namespace scoped resource.
      int hashCode()  
      void setApiGroup​(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.
      void setNamespace​(java.lang.String namespace)
      namespace is the namespace of the resource being referenced.
      void setScope​(java.lang.String scope)
      scope represents if this refers to a cluster or namespace scoped resource.
      IngressClassParametersReference.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • IngressClassParametersReference

        public IngressClassParametersReference​(java.lang.String apiGroup,
                                               @NonNull
                                               @NonNull java.lang.String kind,
                                               @NonNull
                                               @NonNull java.lang.String name,
                                               java.lang.String namespace,
                                               java.lang.String scope)
      • IngressClassParametersReference

        public IngressClassParametersReference()
    • 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.
      • getNamespace

        public java.lang.String getNamespace()
        namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".
      • getScope

        public java.lang.String getScope()
        scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace".
      • 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.
      • setNamespace

        public void setNamespace​(java.lang.String namespace)
        namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".
      • setScope

        public void setScope​(java.lang.String scope)
        scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace".
      • 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