Interface IValidation.Jsii$Default

    • Method Detail

      • validate

        @Stability(Stable)
        @NotNull
        default List<String> validate()
        Validate the current construct.

        This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.

        Specified by:
        validate in interface IValidation
        Returns:
        An array of validation error messages, or an empty array if there the construct is valid.