Class RuleGroupCustomResponseBody


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

      • content

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

        public java.lang.String contentType()
        Returns:
        The 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:
        A unique key identifying the custom response body. This is referenced by the `custom_response_body_key` argument in the Custom Response block.