@Stability(value=Stable) public static final class ValidationError.Builder extends Object implements software.amazon.jsii.Builder<ValidationError>
ValidationError| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ValidationError |
build()
Builds the configured instance.
|
ValidationError.Builder |
message(String message)
Sets the value of
ValidationError.getMessage() |
ValidationError.Builder |
source(Construct source)
Sets the value of
ValidationError.getSource() |
@Stability(value=Stable) public ValidationError.Builder message(String message)
ValidationError.getMessage()message - The error message. This parameter is required.this@Stability(value=Stable) public ValidationError.Builder source(Construct source)
ValidationError.getSource()source - The construct which emitted the error. This parameter is required.this@Stability(value=Stable) public ValidationError build()
build in interface software.amazon.jsii.Builder<ValidationError>ValidationErrorNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.