Package software.constructs
Interface ValidationError
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ValidationError.Jsii$Proxy
@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-03-29T00:19:17.997Z") @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 class
ValidationError.Builder
A builder forValidationError
static class
ValidationError.Jsii$Proxy
An implementation forValidationError
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ValidationError.Builder
builder()
String
getMessage()
The error message.Construct
getSource()
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.Builder
ofValidationError
-
-