Class KeyValue
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.KeyValue
-
- All Implemented Interfaces:
Editable<KeyValueBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class KeyValue extends Object implements Editable<KeyValueBuilder>, KubernetesResource
KeyValue defines a (key, value) tuple.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyValueBuilderedit()Map<String,Object>getAdditionalProperties()StringgetKey()key defines the key of the tuple.StringgetValue()value defines the value of the tuple.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKey(String key)key defines the key of the tuple.voidsetValue(String value)value defines the value of the tuple.KeyValueBuildertoBuilder()
-
-
-
Method Detail
-
getKey
public String getKey()
key defines the key of the tuple. This is the identifier or name part of the key-value pair.
-
setKey
public void setKey(String key)
key defines the key of the tuple. This is the identifier or name part of the key-value pair.
-
getValue
public String getValue()
value defines the value of the tuple. This is the data or content associated with the key.
-
setValue
public void setValue(String value)
value defines the value of the tuple. This is the data or content associated with the key.
-
edit
public KeyValueBuilder edit()
- Specified by:
editin interfaceEditable<KeyValueBuilder>
-
toBuilder
public KeyValueBuilder toBuilder()
-
-