Class RuleGroupCustomResponseBody


  • public final class RuleGroupCustomResponseBody
    extends java.lang.Object
    • Method Detail

      • content

        public java.lang.String content()
        Returns:
        Payload of the custom response.
      • contentType

        public java.lang.String contentType()
        Returns:
        Type of content in the payload that you are defining in the `content` argument. Valid values are `TEXT_PLAIN`, `TEXT_HTML`, or `APPLICATION_JSON`.
      • key

        public java.lang.String key()
        Returns:
        Unique key identifying the custom response body. This is referenced by the `customResponseBodyKey` argument in the Custom Response block.