Class EmbeddedObjectMetadata

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<EmbeddedObjectMetadataBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class EmbeddedObjectMetadata
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<EmbeddedObjectMetadataBuilder>, io.fabric8.kubernetes.api.model.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 Detail

      • EmbeddedObjectMetadata

        public EmbeddedObjectMetadata()
        No args constructor for use in serialization
    • Method Detail

      • getAnnotations

        public 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. 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 is 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()
        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)
        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/
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)