Package io.fabric8.openshift.api.model
Class ClusterResourceQuotaSelector
- java.lang.Object
-
- io.fabric8.openshift.api.model.ClusterResourceQuotaSelector
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClusterResourceQuotaSelectorBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterResourceQuotaSelector extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClusterResourceQuotaSelectorBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterResourceQuotaSelector()No args constructor for use in serializationClusterResourceQuotaSelector(Map<String,String> annotations, io.fabric8.kubernetes.api.model.LabelSelector labels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterResourceQuotaSelectorBuilderedit()Map<String,Object>getAdditionalProperties()Map<String,String>getAnnotations()AnnotationSelector is used to select projects by annotation.io.fabric8.kubernetes.api.model.LabelSelectorgetLabels()ClusterResourceQuotaSelector is used to select projects.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAnnotations(Map<String,String> annotations)AnnotationSelector is used to select projects by annotation.voidsetLabels(io.fabric8.kubernetes.api.model.LabelSelector labels)ClusterResourceQuotaSelector is used to select projects.ClusterResourceQuotaSelectorBuildertoBuilder()
-
-
-
Method Detail
-
getAnnotations
public Map<String,String> getAnnotations()
AnnotationSelector is used to select projects by annotation.
-
setAnnotations
public void setAnnotations(Map<String,String> annotations)
AnnotationSelector is used to select projects by annotation.
-
getLabels
public io.fabric8.kubernetes.api.model.LabelSelector getLabels()
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.
-
setLabels
public void setLabels(io.fabric8.kubernetes.api.model.LabelSelector labels)
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.
-
edit
public ClusterResourceQuotaSelectorBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterResourceQuotaSelectorBuilder>
-
toBuilder
public ClusterResourceQuotaSelectorBuilder toBuilder()
-
-