Class MetaDataFromAnnotation

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MetaDataFromAnnotation
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MetaDataFromAnnotationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MetaDataFromAnnotation contains the information to fetch an annotation content, if the label does not exist, it is rendered as empty string.
    See Also:
    Serialized Form
    • Constructor Detail

      • MetaDataFromAnnotation

        public MetaDataFromAnnotation()
        No args constructor for use in serialization
      • MetaDataFromAnnotation

        public MetaDataFromAnnotation​(String annotation,
                                      String key,
                                      String object)
    • Method Detail

      • getAnnotation

        public String getAnnotation()
        Annotation is the key of the Annotation to fetch
      • setAnnotation

        public void setAnnotation​(String annotation)
        Annotation is the key of the Annotation to fetch
      • getKey

        public String getKey()
        Key will be used as the key to set in the metadata map for cloud-init
      • setKey

        public void setKey​(String key)
        Key will be used as the key to set in the metadata map for cloud-init
      • getObject

        public String getObject()
        Object is the type of the object from which we retrieve the name
      • setObject

        public void setObject​(String object)
        Object is the type of the object from which we retrieve the name
      • getAdditionalProperties

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

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

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