Class ClusterResourceQuotaSelector
- java.lang.Object
-
- com.marcnuri.yakc.model.com.github.openshift.api.quota.v1.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterResourceQuotaSelector.Builder
-
Constructor Summary
Constructors Constructor Description ClusterResourceQuotaSelector()
ClusterResourceQuotaSelector(java.util.Map<java.lang.String,java.lang.String> annotations, com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector labels)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterResourceQuotaSelector.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.Map<java.lang.String,java.lang.String>
getAnnotations()
AnnotationSelector is used to select projects by annotation.com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector
getLabels()
int
hashCode()
void
setAnnotations(java.util.Map<java.lang.String,java.lang.String> annotations)
AnnotationSelector is used to select projects by annotation.void
setLabels(com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector labels)
ClusterResourceQuotaSelector.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static ClusterResourceQuotaSelector.Builder builder()
-
toBuilder
public ClusterResourceQuotaSelector.Builder toBuilder()
-
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 classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-