Package io.fabric8.openshift.api.model
Class ClusterResourceQuotaSelector
- java.lang.Object
-
- io.fabric8.openshift.api.model.ClusterResourceQuotaSelector
-
- All Implemented Interfaces:
Editable<ClusterResourceQuotaSelectorBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterResourceQuotaSelector extends Object implements Editable<ClusterResourceQuotaSelectorBuilder>, 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, 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.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(LabelSelector labels)ClusterResourceQuotaSelector is used to select projects.ClusterResourceQuotaSelectorBuildertoBuilder()
-
-
-
Constructor Detail
-
ClusterResourceQuotaSelector
public ClusterResourceQuotaSelector()
No args constructor for use in serialization
-
ClusterResourceQuotaSelector
public ClusterResourceQuotaSelector(Map<String,String> annotations, LabelSelector labels)
-
-
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 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(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 interfaceEditable<ClusterResourceQuotaSelectorBuilder>
-
toBuilder
public ClusterResourceQuotaSelectorBuilder toBuilder()
-
-