Class ClusterResourceQuotaSelector

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

    public class ClusterResourceQuotaSelector
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    ClusterResourceQuotaSelector is used to select projects. At least one of LabelSelector or AnnotationSelector must present. If only one is present, it is the only selection criteria. If both are specified, the project must match both restrictions.
    • Constructor Detail

      • ClusterResourceQuotaSelector

        public ClusterResourceQuotaSelector​(java.util.Map<java.lang.String,​java.lang.String> annotations,
                                            com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector labels)
      • ClusterResourceQuotaSelector

        public ClusterResourceQuotaSelector()
    • Method Detail

      • getAnnotations

        public java.util.Map<java.lang.String,​java.lang.String> getAnnotations()
        AnnotationSelector is used to select projects by annotation.
      • getLabels

        public com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector getLabels()
      • setAnnotations

        public void setAnnotations​(java.util.Map<java.lang.String,​java.lang.String> annotations)
        AnnotationSelector is used to select projects by annotation.
      • setLabels

        public void setLabels​(com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector labels)
      • 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