Class ConsoleNotificationSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ConsoleNotificationSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ConsoleNotificationSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ConsoleNotificationSpec is the desired console notification configuration.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConsoleNotificationSpec

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

        public ConsoleNotificationSpec​(String backgroundColor,
                                       String color,
                                       Link link,
                                       String location,
                                       String text)
    • Method Detail

      • getBackgroundColor

        public String getBackgroundColor()
        backgroundColor is the color of the background for the notification as CSS data type color.
      • setBackgroundColor

        public void setBackgroundColor​(String backgroundColor)
        backgroundColor is the color of the background for the notification as CSS data type color.
      • getColor

        public String getColor()
        color is the color of the text for the notification as CSS data type color.
      • setColor

        public void setColor​(String color)
        color is the color of the text for the notification as CSS data type color.
      • getLink

        public Link getLink()
        ConsoleNotificationSpec is the desired console notification configuration.
      • setLink

        public void setLink​(Link link)
        ConsoleNotificationSpec is the desired console notification configuration.
      • getLocation

        public String getLocation()
        location is the location of the notification in the console. Valid values are: "BannerTop", "BannerBottom", "BannerTopBottom".
      • setLocation

        public void setLocation​(String location)
        location is the location of the notification in the console. Valid values are: "BannerTop", "BannerBottom", "BannerTopBottom".
      • getText

        public String getText()
        text is the visible text of the notification.
      • setText

        public void setText​(String text)
        text is the visible text of the notification.
      • getAdditionalProperties

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

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

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