Class RuleGroupCustomResponseBodyArgs.Builder

    • Method Detail

      • contentType

        public RuleGroupCustomResponseBodyArgs.Builder contentType​(com.pulumi.core.Output<java.lang.String> contentType)
        Parameters:
        contentType - Type of content in the payload that you are defining in the `content` argument. Valid values are `TEXT_PLAIN`, `TEXT_HTML`, or `APPLICATION_JSON`.
        Returns:
        builder
      • contentType

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

        public RuleGroupCustomResponseBodyArgs.Builder key​(com.pulumi.core.Output<java.lang.String> key)
        Parameters:
        key - Unique key identifying the custom response body. This is referenced by the `customResponseBodyKey` argument in the Custom Response block.
        Returns:
        builder
      • key

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