@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-06T16:45:00.555Z[Etc/UTC]") public class V1ObjectMeta extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ANNOTATIONS |
static String |
SERIALIZED_NAME_CLUSTER_NAME |
static String |
SERIALIZED_NAME_CREATION_TIMESTAMP |
static String |
SERIALIZED_NAME_DELETION_GRACE_PERIOD_SECONDS |
static String |
SERIALIZED_NAME_DELETION_TIMESTAMP |
static String |
SERIALIZED_NAME_FINALIZERS |
static String |
SERIALIZED_NAME_GENERATE_NAME |
static String |
SERIALIZED_NAME_GENERATION |
static String |
SERIALIZED_NAME_LABELS |
static String |
SERIALIZED_NAME_MANAGED_FIELDS |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_NAMESPACE |
static String |
SERIALIZED_NAME_OWNER_REFERENCES |
static String |
SERIALIZED_NAME_RESOURCE_VERSION |
static String |
SERIALIZED_NAME_SELF_LINK |
static String |
SERIALIZED_NAME_UID |
Constructor and Description |
---|
V1ObjectMeta() |
Modifier and Type | Method and Description |
---|---|
V1ObjectMeta |
addFinalizersItem(String finalizersItem) |
V1ObjectMeta |
addManagedFieldsItem(V1ManagedFieldsEntry managedFieldsItem) |
V1ObjectMeta |
addOwnerReferencesItem(V1OwnerReference ownerReferencesItem) |
V1ObjectMeta |
annotations(Map<String,String> annotations) |
V1ObjectMeta |
clusterName(String clusterName) |
V1ObjectMeta |
creationTimestamp(OffsetDateTime creationTimestamp) |
V1ObjectMeta |
deletionGracePeriodSeconds(Long deletionGracePeriodSeconds) |
V1ObjectMeta |
deletionTimestamp(OffsetDateTime deletionTimestamp) |
boolean |
equals(Object o) |
V1ObjectMeta |
finalizers(List<String> finalizers) |
V1ObjectMeta |
generateName(String generateName) |
V1ObjectMeta |
generation(Long generation) |
Map<String,String> |
getAnnotations()
Annotations is an unstructured key value map stored with a resource that may be set by external
tools to store and retrieve arbitrary metadata.
|
String |
getClusterName()
Deprecated: ClusterName is a legacy field that was always cleared by the system and never used;
it will be removed completely in 1.25.
|
OffsetDateTime |
getCreationTimestamp()
CreationTimestamp is a timestamp representing the server time when this object was created.
|
Long |
getDeletionGracePeriodSeconds()
Number of seconds allowed for this object to gracefully terminate before it will be removed
from the system.
|
OffsetDateTime |
getDeletionTimestamp()
DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.
|
List<String> |
getFinalizers()
Must be empty before the object is deleted from the registry.
|
String |
getGenerateName()
GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the
Name field has not been provided.
|
Long |
getGeneration()
A sequence number representing a specific generation of the desired state.
|
Map<String,String> |
getLabels()
Map of string keys and values that can be used to organize and categorize (scope and select)
objects.
|
List<V1ManagedFieldsEntry> |
getManagedFields()
ManagedFields maps workflow-id and version to the set of fields that are managed by that
workflow.
|
String |
getName()
Name must be unique within a namespace.
|
String |
getNamespace()
Namespace defines the space within which each name must be unique.
|
List<V1OwnerReference> |
getOwnerReferences()
List of objects depended by this object.
|
String |
getResourceVersion()
An opaque value that represents the internal version of this object that can be used by clients
to determine when objects have changed.
|
String |
getSelfLink()
Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
|
String |
getUid()
UID is the unique in time and space value for this object.
|
int |
hashCode() |
V1ObjectMeta |
labels(Map<String,String> labels) |
V1ObjectMeta |
managedFields(List<V1ManagedFieldsEntry> managedFields) |
V1ObjectMeta |
name(String name) |
V1ObjectMeta |
namespace(String namespace) |
V1ObjectMeta |
ownerReferences(List<V1OwnerReference> ownerReferences) |
V1ObjectMeta |
putAnnotationsItem(String key,
String annotationsItem) |
V1ObjectMeta |
putLabelsItem(String key,
String labelsItem) |
V1ObjectMeta |
resourceVersion(String resourceVersion) |
V1ObjectMeta |
selfLink(String selfLink) |
void |
setAnnotations(Map<String,String> annotations) |
void |
setClusterName(String clusterName) |
void |
setCreationTimestamp(OffsetDateTime creationTimestamp) |
void |
setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds) |
void |
setDeletionTimestamp(OffsetDateTime deletionTimestamp) |
void |
setFinalizers(List<String> finalizers) |
void |
setGenerateName(String generateName) |
void |
setGeneration(Long generation) |
void |
setLabels(Map<String,String> labels) |
void |
setManagedFields(List<V1ManagedFieldsEntry> managedFields) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setOwnerReferences(List<V1OwnerReference> ownerReferences) |
void |
setResourceVersion(String resourceVersion) |
void |
setSelfLink(String selfLink) |
void |
setUid(String uid) |
String |
toString() |
V1ObjectMeta |
uid(String uid) |
public static final String SERIALIZED_NAME_ANNOTATIONS
public static final String SERIALIZED_NAME_CLUSTER_NAME
public static final String SERIALIZED_NAME_CREATION_TIMESTAMP
public static final String SERIALIZED_NAME_DELETION_GRACE_PERIOD_SECONDS
public static final String SERIALIZED_NAME_DELETION_TIMESTAMP
public static final String SERIALIZED_NAME_FINALIZERS
public static final String SERIALIZED_NAME_GENERATE_NAME
public static final String SERIALIZED_NAME_GENERATION
public static final String SERIALIZED_NAME_LABELS
public static final String SERIALIZED_NAME_MANAGED_FIELDS
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAMESPACE
public static final String SERIALIZED_NAME_OWNER_REFERENCES
public static final String SERIALIZED_NAME_RESOURCE_VERSION
public static final String SERIALIZED_NAME_SELF_LINK
public static final String SERIALIZED_NAME_UID
public V1ObjectMeta annotations(Map<String,String> annotations)
public V1ObjectMeta putAnnotationsItem(String key, String annotationsItem)
@Nullable public Map<String,String> getAnnotations()
public V1ObjectMeta clusterName(String clusterName)
@Nullable public String getClusterName()
public void setClusterName(String clusterName)
public V1ObjectMeta creationTimestamp(OffsetDateTime creationTimestamp)
@Nullable public OffsetDateTime getCreationTimestamp()
public void setCreationTimestamp(OffsetDateTime creationTimestamp)
public V1ObjectMeta deletionGracePeriodSeconds(Long deletionGracePeriodSeconds)
@Nullable public Long getDeletionGracePeriodSeconds()
public void setDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds)
public V1ObjectMeta deletionTimestamp(OffsetDateTime deletionTimestamp)
@Nullable public OffsetDateTime getDeletionTimestamp()
public void setDeletionTimestamp(OffsetDateTime deletionTimestamp)
public V1ObjectMeta finalizers(List<String> finalizers)
public V1ObjectMeta addFinalizersItem(String finalizersItem)
@Nullable public List<String> getFinalizers()
public V1ObjectMeta generateName(String generateName)
@Nullable public String getGenerateName()
public void setGenerateName(String generateName)
public V1ObjectMeta generation(Long generation)
@Nullable public Long getGeneration()
public void setGeneration(Long generation)
public V1ObjectMeta labels(Map<String,String> labels)
public V1ObjectMeta putLabelsItem(String key, String labelsItem)
@Nullable public Map<String,String> getLabels()
public V1ObjectMeta managedFields(List<V1ManagedFieldsEntry> managedFields)
public V1ObjectMeta addManagedFieldsItem(V1ManagedFieldsEntry managedFieldsItem)
@Nullable public List<V1ManagedFieldsEntry> getManagedFields()
public void setManagedFields(List<V1ManagedFieldsEntry> managedFields)
public V1ObjectMeta name(String name)
@Nullable public String getName()
public void setName(String name)
public V1ObjectMeta namespace(String namespace)
@Nullable public String getNamespace()
public void setNamespace(String namespace)
public V1ObjectMeta ownerReferences(List<V1OwnerReference> ownerReferences)
public V1ObjectMeta addOwnerReferencesItem(V1OwnerReference ownerReferencesItem)
@Nullable public List<V1OwnerReference> getOwnerReferences()
public void setOwnerReferences(List<V1OwnerReference> ownerReferences)
public V1ObjectMeta resourceVersion(String resourceVersion)
@Nullable public String getResourceVersion()
public void setResourceVersion(String resourceVersion)
public V1ObjectMeta selfLink(String selfLink)
@Nullable public String getSelfLink()
public void setSelfLink(String selfLink)
public V1ObjectMeta uid(String uid)
@Nullable public String getUid()
public void setUid(String uid)
Copyright © 2022. All rights reserved.