public static interface UnprocessableEntityException.Builder extends CopyableBuilder<UnprocessableEntityException.Builder,UnprocessableEntityException>
Modifier and Type | Method and Description |
---|---|
UnprocessableEntityException.Builder |
message(String message) |
UnprocessableEntityException.Builder |
validationErrors(Collection<ValidationError> validationErrors)
A collection of validation error responses from attempting to create a channel with a bouquet of settings.
|
UnprocessableEntityException.Builder |
validationErrors(Consumer<ValidationError.Builder>... validationErrors)
A collection of validation error responses from attempting to create a channel with a bouquet of settings.
|
UnprocessableEntityException.Builder |
validationErrors(ValidationError... validationErrors)
A collection of validation error responses from attempting to create a channel with a bouquet of settings.
|
copy
apply, build
UnprocessableEntityException.Builder validationErrors(Collection<ValidationError> validationErrors)
validationErrors
- A collection of validation error responses from attempting to create a channel with a bouquet of
settings.UnprocessableEntityException.Builder validationErrors(ValidationError... validationErrors)
validationErrors
- A collection of validation error responses from attempting to create a channel with a bouquet of
settings.UnprocessableEntityException.Builder validationErrors(Consumer<ValidationError.Builder>... validationErrors)
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #validationErrors(List)
.validationErrors
- a consumer that will call methods on List.Builder
#validationErrors(List)
UnprocessableEntityException.Builder message(String message)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.