Interface Validator.Builder

    • Method Detail

      • type

        Validator.Builder type​(String type)

        AppConfig supports validators of type JSON_SCHEMA and LAMBDA

        Parameters:
        type - AppConfig supports validators of type JSON_SCHEMA and LAMBDA
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ValidatorType, ValidatorType
      • type

        Validator.Builder type​(ValidatorType type)

        AppConfig supports validators of type JSON_SCHEMA and LAMBDA

        Parameters:
        type - AppConfig supports validators of type JSON_SCHEMA and LAMBDA
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ValidatorType, ValidatorType
      • content

        Validator.Builder content​(String content)

        Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.

        Parameters:
        content - Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.