Package io.fabric8.kubernetes.api.model
Class WatchEvent
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.WatchEvent
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<WatchEventBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WatchEvent extends Object implements io.fabric8.kubernetes.api.builder.Editable<WatchEventBuilder>, KubernetesResource
Event represents a single event to a watched resource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WatchEvent()No args constructor for use in serializationWatchEvent(Object object, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WatchEventBuilderedit()Map<String,Object>getAdditionalProperties()ObjectgetObject()Event represents a single event to a watched resource.StringgetType()Event represents a single event to a watched resource.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetObject(Object object)Event represents a single event to a watched resource.voidsetType(String type)Event represents a single event to a watched resource.WatchEventBuildertoBuilder()
-
-
-
Method Detail
-
getObject
public Object getObject()
Event represents a single event to a watched resource.
-
setObject
public void setObject(Object object)
Event represents a single event to a watched resource.
-
getType
public String getType()
Event represents a single event to a watched resource.
-
setType
public void setType(String type)
Event represents a single event to a watched resource.
-
edit
public WatchEventBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<WatchEventBuilder>
-
toBuilder
public WatchEventBuilder toBuilder()
-
-