public static interface ConstraintViolationException.Builder extends CopyableBuilder<ConstraintViolationException.Builder,ConstraintViolationException>
Modifier and Type | Method and Description |
---|---|
ConstraintViolationException.Builder |
message(String message) |
ConstraintViolationException.Builder |
reason(ConstraintViolationExceptionReason reason)
Sets the value of the Reason property for this object.
|
ConstraintViolationException.Builder |
reason(String reason)
Sets the value of the Reason property for this object.
|
copy
apply, build
ConstraintViolationException.Builder reason(String reason)
reason
- The new value for the Reason property for this object.ConstraintViolationExceptionReason
,
ConstraintViolationExceptionReason
ConstraintViolationException.Builder reason(ConstraintViolationExceptionReason reason)
reason
- The new value for the Reason property for this object.ConstraintViolationExceptionReason
,
ConstraintViolationExceptionReason
ConstraintViolationException.Builder message(String message)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.