Class NameValuePair
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.NameValuePair
-
- All Implemented Interfaces:
Editable<NameValuePairBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NameValuePair extends Object implements Editable<NameValuePairBuilder>, KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NameValuePair()No args constructor for use in serializationNameValuePair(String name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NameValuePairBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()Name of the expected label.StringgetValue()If specified, expected value of the label.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)Name of the expected label.voidsetValue(String value)If specified, expected value of the label.NameValuePairBuildertoBuilder()
-
-
-
Method Detail
-
getName
public String getName()
Name of the expected label.
-
setName
public void setName(String name)
Name of the expected label.
-
getValue
public String getValue()
If specified, expected value of the label.
-
setValue
public void setValue(String value)
If specified, expected value of the label.
-
edit
public NameValuePairBuilder edit()
- Specified by:
editin interfaceEditable<NameValuePairBuilder>
-
toBuilder
public NameValuePairBuilder toBuilder()
-
-