Class WavefrontConsumerProperties

java.lang.Object
org.springframework.cloud.fn.consumer.wavefront.WavefrontConsumerProperties

@ConfigurationProperties("wavefront") @Validated public class WavefrontConsumerProperties extends Object
Author:
Timo Salm
  • Constructor Details

    • WavefrontConsumerProperties

      public WavefrontConsumerProperties()
  • Method Details

    • getMetricName

      @NotEmpty @Pattern(regexp="^[a-zA-Z0-9./_,-]+") public @NotEmpty @Pattern(regexp="^[a-zA-Z0-9./_,-]+") String getMetricName()
    • setMetricName

      public void setMetricName(String metricName)
    • getSource

      @NotEmpty @Size(max=128) @Pattern(regexp="^[a-zA-Z0-9._-]+") public @NotEmpty @Size(max=128) @Pattern(regexp="^[a-zA-Z0-9._-]+") String getSource()
    • setSource

      public void setSource(String source)
    • getMetricExpression

      @NotNull public @NotNull Expression getMetricExpression()
    • setMetricExpression

      public void setMetricExpression(Expression metricExpression)
    • getTimestampExpression

      public Expression getTimestampExpression()
    • setTimestampExpression

      public void setTimestampExpression(Expression timestampExpression)
    • getTagExpression

      public Map<String,Expression> getTagExpression()
    • setTagExpression

      public void setTagExpression(Map<String,Expression> tagExpression)
    • getUri

      public String getUri()
    • setUri

      public void setUri(String uri)
    • getApiToken

      public String getApiToken()
    • setApiToken

      public void setApiToken(String apiToken)
    • getProxyUri

      public String getProxyUri()
    • setProxyUri

      public void setProxyUri(String proxyUri)
    • isMutuallyExclusiveProxyAndDirectAccessWavefrontConfiguration

      @AssertTrue(message="Exactly one of \'proxy-uri\' or the pair of (\'uri\' and \'api-token\') must be set!") public @jakarta.validation.constraints.AssertTrue(message="Exactly one of \'proxy-uri\' or the pair of (\'uri\' and \'api-token\') must be set!") boolean isMutuallyExclusiveProxyAndDirectAccessWavefrontConfiguration()