Class SNSConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class SNSConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SNSConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    SNSConfig configures notifications via AWS SNS. See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs
    See Also:
    Serialized Form
    • Method Detail

      • getApiURL

        public String getApiURL()
        The SNS API URL i.e. https://sns.us-east-2.amazonaws.com. If not specified, the SNS API URL from the SNS SDK will be used.
      • setApiURL

        public void setApiURL​(String apiURL)
        The SNS API URL i.e. https://sns.us-east-2.amazonaws.com. If not specified, the SNS API URL from the SNS SDK will be used.
      • getAttributes

        public Map<String,​String> getAttributes()
        SNS message attributes.
      • setAttributes

        public void setAttributes​(Map<String,​String> attributes)
        SNS message attributes.
      • getHttpConfig

        public HTTPConfig getHttpConfig()
        SNSConfig configures notifications via AWS SNS. See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs
      • setHttpConfig

        public void setHttpConfig​(HTTPConfig httpConfig)
        SNSConfig configures notifications via AWS SNS. See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs
      • getMessage

        public String getMessage()
        The message content of the SNS notification.
      • setMessage

        public void setMessage​(String message)
        The message content of the SNS notification.
      • getPhoneNumber

        public String getPhoneNumber()
        Phone number if message is delivered via SMS in E.164 format. If you don't specify this value, you must specify a value for the TopicARN or TargetARN.
      • setPhoneNumber

        public void setPhoneNumber​(String phoneNumber)
        Phone number if message is delivered via SMS in E.164 format. If you don't specify this value, you must specify a value for the TopicARN or TargetARN.
      • getSendResolved

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

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

        public Sigv4 getSigv4()
        SNSConfig configures notifications via AWS SNS. See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs
      • setSigv4

        public void setSigv4​(Sigv4 sigv4)
        SNSConfig configures notifications via AWS SNS. See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs
      • getSubject

        public String getSubject()
        Subject line when the message is delivered to email endpoints.
      • setSubject

        public void setSubject​(String subject)
        Subject line when the message is delivered to email endpoints.
      • getTargetARN

        public String getTargetARN()
        The mobile platform endpoint ARN if message is delivered via mobile notifications. If you don't specify this value, you must specify a value for the topic_arn or PhoneNumber.
      • setTargetARN

        public void setTargetARN​(String targetARN)
        The mobile platform endpoint ARN if message is delivered via mobile notifications. If you don't specify this value, you must specify a value for the topic_arn or PhoneNumber.
      • getTopicARN

        public String getTopicARN()
        SNS topic ARN, i.e. arn:aws:sns:us-east-2:698519295917:My-Topic If you don't specify this value, you must specify a value for the PhoneNumber or TargetARN.
      • setTopicARN

        public void setTopicARN​(String topicARN)
        SNS topic ARN, i.e. arn:aws:sns:us-east-2:698519295917:My-Topic If you don't specify this value, you must specify a value for the PhoneNumber or TargetARN.
      • getAdditionalProperties

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

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

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