Class MetaDataFromLabel

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

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

      • MetaDataFromLabel

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

        public MetaDataFromLabel​(String key,
                                 String label,
                                 String object)
    • Method Detail

      • 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
      • getLabel

        public String getLabel()
        Label is the key of the label to fetch
      • setLabel

        public void setLabel​(String label)
        Label is the key of the label to fetch
      • 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)