Package software.constructs
Interface ValidationError
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ValidationError.Jsii$Proxy
@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-06T00:19:26.845Z") @Stability(Stable) public interface ValidationError extends software.amazon.jsii.JsiiSerializable
An error returned during the validation phase.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classValidationError.BuilderA builder forValidationErrorstatic classValidationError.Jsii$ProxyAn implementation forValidationError
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ValidationError.Builderbuilder()StringgetMessage()The error message.ConstructgetSource()The construct which emitted the error.
-
-
-
Method Detail
-
getMessage
@Stability(Stable) @NotNull String getMessage()
The error message.
-
getSource
@Stability(Stable) @NotNull Construct getSource()
The construct which emitted the error.
-
builder
@Stability(Stable) static ValidationError.Builder builder()
- Returns:
- a
ValidationError.BuilderofValidationError
-
-