Package io.fabric8.kubernetes.api.model
Class TopologySelectorLabelRequirement
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.TopologySelectorLabelRequirement
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TopologySelectorLabelRequirementBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TopologySelectorLabelRequirement extends Object implements io.fabric8.kubernetes.api.builder.Editable<TopologySelectorLabelRequirementBuilder>, KubernetesResource
A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TopologySelectorLabelRequirement()No args constructor for use in serializationTopologySelectorLabelRequirement(String key, List<String> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopologySelectorLabelRequirementBuilderedit()Map<String,Object>getAdditionalProperties()StringgetKey()The label key that the selector applies to.List<String>getValues()An array of string values.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKey(String key)The label key that the selector applies to.voidsetValues(List<String> values)An array of string values.TopologySelectorLabelRequirementBuildertoBuilder()
-
-
-
Method Detail
-
getKey
public String getKey()
The label key that the selector applies to.
-
setKey
public void setKey(String key)
The label key that the selector applies to.
-
getValues
public List<String> getValues()
An array of string values. One value must match the label to be selected. Each entry in Values is ORed.
-
setValues
public void setValues(List<String> values)
An array of string values. One value must match the label to be selected. Each entry in Values is ORed.
-
edit
public TopologySelectorLabelRequirementBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TopologySelectorLabelRequirementBuilder>
-
toBuilder
public TopologySelectorLabelRequirementBuilder toBuilder()
-
-