Class RocketChatConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class RocketChatConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<RocketChatConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    RocketChatConfig configures notifications via RocketChat. It requires Alertmanager >= 0.28.0.
    See Also:
    Serialized Form
    • Method Detail

      • getApiURL

        public String getApiURL()
        The API URL for RocketChat. Defaults to https://open.rocket.chat/ if not specified.
      • setApiURL

        public void setApiURL​(String apiURL)
        The API URL for RocketChat. Defaults to https://open.rocket.chat/ if not specified.
      • getChannel

        public String getChannel()
        The channel to send alerts to.
      • setChannel

        public void setChannel​(String channel)
        The channel to send alerts to.
      • getColor

        public String getColor()
        The message color.
      • setColor

        public void setColor​(String color)
        The message color.
      • getEmoji

        public String getEmoji()
        If provided, the avatar will be displayed as an emoji.
      • setEmoji

        public void setEmoji​(String emoji)
        If provided, the avatar will be displayed as an emoji.
      • getHttpConfig

        public HTTPConfig getHttpConfig()
        RocketChatConfig configures notifications via RocketChat. It requires Alertmanager >= 0.28.0.
      • setHttpConfig

        public void setHttpConfig​(HTTPConfig httpConfig)
        RocketChatConfig configures notifications via RocketChat. It requires Alertmanager >= 0.28.0.
      • getIconURL

        public String getIconURL()
        Icon URL for the message.
      • setIconURL

        public void setIconURL​(String iconURL)
        Icon URL for the message.
      • getImageURL

        public String getImageURL()
        Image URL for the message.
      • setImageURL

        public void setImageURL​(String imageURL)
        Image URL for the message.
      • getLinkNames

        public Boolean getLinkNames()
        Whether to enable link names.
      • setLinkNames

        public void setLinkNames​(Boolean linkNames)
        Whether to enable link names.
      • getSendResolved

        public Boolean getSendResolved()
        Whether to notify about resolved alerts.
      • setSendResolved

        public void setSendResolved​(Boolean sendResolved)
        Whether to notify about resolved alerts.
      • getShortFields

        public Boolean getShortFields()
        Whether to use short fields.
      • setShortFields

        public void setShortFields​(Boolean shortFields)
        Whether to use short fields.
      • getText

        public String getText()
        The main message text.
      • setText

        public void setText​(String text)
        The main message text.
      • getThumbURL

        public String getThumbURL()
        Thumbnail URL for the message.
      • setThumbURL

        public void setThumbURL​(String thumbURL)
        Thumbnail URL for the message.
      • getTitle

        public String getTitle()
        The message title.
      • setTitle

        public void setTitle​(String title)
        The message title.
      • getTitleLink

        public String getTitleLink()
        The title link for the message.
      • setTitleLink

        public void setTitleLink​(String titleLink)
        The title link for the message.
      • getToken

        public io.fabric8.kubernetes.api.model.SecretKeySelector getToken()
        RocketChatConfig configures notifications via RocketChat. It requires Alertmanager >= 0.28.0.
      • setToken

        public void setToken​(io.fabric8.kubernetes.api.model.SecretKeySelector token)
        RocketChatConfig configures notifications via RocketChat. It requires Alertmanager >= 0.28.0.
      • getTokenID

        public io.fabric8.kubernetes.api.model.SecretKeySelector getTokenID()
        RocketChatConfig configures notifications via RocketChat. It requires Alertmanager >= 0.28.0.
      • setTokenID

        public void setTokenID​(io.fabric8.kubernetes.api.model.SecretKeySelector tokenID)
        RocketChatConfig configures notifications via RocketChat. It requires Alertmanager >= 0.28.0.
      • getAdditionalProperties

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

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

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