@Stability(value=Stable) public static final class ValidationError.Builder extends Object
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 Message
|
ValidationError.Builder |
source(Construct source)
Sets the value of Source
|
@Stability(value=Stable) public ValidationError.Builder message(String message)
message - The error message. This parameter is required.this@Stability(value=Stable) public ValidationError.Builder source(Construct source)
source - The construct which emitted the error. This parameter is required.this@Stability(value=Stable) public ValidationError build()
ValidationErrorNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.