Package software.amazon.awscdk.core
Interface ValidationError
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ValidationError.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.160Z")
@Stability(Stable)
public interface ValidationError
extends software.amazon.jsii.JsiiSerializable
An error returned during the validation phase.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.core.*; Construct construct; ValidationError validationError = ValidationError.builder() .message("message") .source(construct) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forValidationError
static final class
An implementation forValidationError
-
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationError.Builder
builder()
The error message.The construct which emitted the error.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMessage
The error message. -
getSource
The construct which emitted the error. -
builder
- Returns:
- a
ValidationError.Builder
ofValidationError
-