Class IValidation.Jsii$Proxy

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, IValidation, IValidation.Jsii$Default
    Enclosing interface:
    IValidation

    @Internal
    public static final class IValidation.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements IValidation.Jsii$Default
    A proxy class which represents a concrete javascript instance of this type.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
    • Method Detail

      • validate

        @Stability(Stable)
        @NotNull
        public final 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
        Specified by:
        validate in interface IValidation.Jsii$Default
        Returns:
        An array of validation error messages, or an empty array if there the construct is valid.