public class WatchEvent extends Object implements KubernetesResource
Constructor and Description |
---|
WatchEvent()
No args constructor for use in serialization
|
WatchEvent(KubernetesResource object,
String type) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
KubernetesResource |
getObject() |
String |
getType()
the type of watch event; may be ADDED
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setObject(KubernetesResource object) |
void |
setType(String type)
the type of watch event; may be ADDED
|
public WatchEvent()
public WatchEvent(KubernetesResource object, String type)
type
- object
- public KubernetesResource getObject()
public void setObject(KubernetesResource object)
object
- The objectpublic String getType()
public void setType(String type)
type
- The typeCopyright © 2011–2018 Red Hat. All rights reserved.