Class EmbeddedObjectMetadata
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.EmbeddedObjectMetadata
-
- All Implemented Interfaces:
Editable<EmbeddedObjectMetadataBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EmbeddedObjectMetadata extends Object implements Editable<EmbeddedObjectMetadataBuilder>, KubernetesResource
EmbeddedObjectMetadata contains a subset of the fields included in k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta Only fields which are relevant to embedded resources are included.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmbeddedObjectMetadata()No args constructor for use in serializationEmbeddedObjectMetadata(Map<String,String> annotations, Map<String,String> labels, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmbeddedObjectMetadataBuilderedit()Map<String,Object>getAdditionalProperties()Map<String,String>getAnnotations()annotations defines an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.Map<String,String>getLabels()labels define the map of string keys and values that can be used to organize and categorize (scope and select) objects.StringgetName()name must be unique within a namespace.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAnnotations(Map<String,String> annotations)annotations defines an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.voidsetLabels(Map<String,String> labels)labels define the map of string keys and values that can be used to organize and categorize (scope and select) objects.voidsetName(String name)name must be unique within a namespace.EmbeddedObjectMetadataBuildertoBuilder()
-
-
-
Method Detail
-
getAnnotations
public Map<String,String> getAnnotations()
annotations defines an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
-
setAnnotations
public void setAnnotations(Map<String,String> annotations)
annotations defines an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
-
getLabels
public Map<String,String> getLabels()
labels define the map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
-
setLabels
public void setLabels(Map<String,String> labels)
labels define the map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
-
getName
public String getName()
name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/
-
setName
public void setName(String name)
name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/
-
edit
public EmbeddedObjectMetadataBuilder edit()
- Specified by:
editin interfaceEditable<EmbeddedObjectMetadataBuilder>
-
toBuilder
public EmbeddedObjectMetadataBuilder toBuilder()
-
-