@Generated(value="org.jsonschema2pojo") public class ObjectMeta extends Object
Constructor and Description |
---|
ObjectMeta()
No args constructor for use in serialization
|
ObjectMeta(Map<String,String> annotations,
String creationTimestamp,
String deletionTimestamp,
String generateName,
Long generation,
Map<String,String> labels,
String name,
String namespace,
String resourceVersion,
String selfLink,
String uid) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Map<String,String> |
getAnnotations()
map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
|
String |
getCreationTimestamp()
RFC 3339 date and time at which the object was created; populated by the system
|
String |
getDeletionTimestamp()
RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested
|
String |
getGenerateName()
an optional prefix to use to generate a unique name; has the same validation rules as name; optional
|
Long |
getGeneration()
a sequence number representing a specific generation of the desired state; populated by the system; read-only
|
Map<String,String> |
getLabels()
map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
|
String |
getName()
string that identifies an object.
|
String |
getNamespace()
namespace of the object; must be a DNS_LABEL; cannot be updated
|
String |
getResourceVersion()
string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system
|
String |
getSelfLink()
URL for the object; populated by the system
|
String |
getUid()
unique UUID across space and time; populated by the system; read-only
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAnnotations(Map<String,String> annotations)
map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about objects
|
void |
setCreationTimestamp(String creationTimestamp)
RFC 3339 date and time at which the object was created; populated by the system
|
void |
setDeletionTimestamp(String deletionTimestamp)
RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested
|
void |
setGenerateName(String generateName)
an optional prefix to use to generate a unique name; has the same validation rules as name; optional
|
void |
setGeneration(Long generation)
a sequence number representing a specific generation of the desired state; populated by the system; read-only
|
void |
setLabels(Map<String,String> labels)
map of string keys and values that can be used to organize and categorize objects; may match selectors of replication controllers and services
|
void |
setName(String name)
string that identifies an object.
|
void |
setNamespace(String namespace)
namespace of the object; must be a DNS_LABEL; cannot be updated
|
void |
setResourceVersion(String resourceVersion)
string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system
|
void |
setSelfLink(String selfLink)
URL for the object; populated by the system
|
void |
setUid(String uid)
unique UUID across space and time; populated by the system; read-only
|
String |
toString() |
public ObjectMeta()
public ObjectMeta(Map<String,String> annotations, String creationTimestamp, String deletionTimestamp, String generateName, Long generation, Map<String,String> labels, String name, String namespace, String resourceVersion, String selfLink, String uid)
uid
- deletionTimestamp
- resourceVersion
- name
- labels
- generateName
- selfLink
- creationTimestamp
- annotations
- generation
- namespace
- public Map<String,String> getAnnotations()
public void setAnnotations(Map<String,String> annotations)
annotations
- The annotationspublic String getCreationTimestamp()
public void setCreationTimestamp(String creationTimestamp)
creationTimestamp
- The creationTimestamppublic String getDeletionTimestamp()
public void setDeletionTimestamp(String deletionTimestamp)
deletionTimestamp
- The deletionTimestamppublic String getGenerateName()
public void setGenerateName(String generateName)
generateName
- The generateNamepublic Long getGeneration()
public void setGeneration(Long generation)
generation
- The generationpublic Map<String,String> getLabels()
public void setLabels(Map<String,String> labels)
labels
- The labelspublic String getName()
public void setName(String name)
name
- The namepublic String getNamespace()
public void setNamespace(String namespace)
namespace
- The namespacepublic String getResourceVersion()
public void setResourceVersion(String resourceVersion)
resourceVersion
- The resourceVersionpublic String getSelfLink()
public void setSelfLink(String selfLink)
selfLink
- The selfLinkpublic String getUid()
public void setUid(String uid)
uid
- The uidCopyright © 2011–2015 Red Hat. All rights reserved.