Class KeyValue
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.KeyValue
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<KeyValueBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class KeyValue extends Object implements io.fabric8.kubernetes.api.builder.Editable<KeyValueBuilder>, io.fabric8.kubernetes.api.model.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 of the tuple.StringgetValue()Value of the tuple.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetKey(String key)Key of the tuple.voidsetValue(String value)Value of the tuple.KeyValueBuildertoBuilder()
-
-
-
Method Detail
-
getKey
public String getKey()
Key of the tuple.
-
setKey
public void setKey(String key)
Key of the tuple.
-
getValue
public String getValue()
Value of the tuple.
-
setValue
public void setValue(String value)
Value of the tuple.
-
edit
public KeyValueBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<KeyValueBuilder>
-
toBuilder
public KeyValueBuilder toBuilder()
-
-