Package software.constructs
Interface ValidationError
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ValidationError.Jsii$Proxy
@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-06T00:16:26.640Z") @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
-
-