public static interface InternalServerErrorException.Builder extends CopyableBuilder<InternalServerErrorException.Builder,InternalServerErrorException>
Modifier and Type | Method and Description |
---|---|
InternalServerErrorException.Builder |
errorDetails(Collection<ErrorDetail> errorDetails)
Error Details
|
InternalServerErrorException.Builder |
errorDetails(Consumer<ErrorDetail.Builder>... errorDetails)
Error Details This is a convenience that creates an instance of the
List
avoiding the need to create one manually via List . |
InternalServerErrorException.Builder |
errorDetails(ErrorDetail... errorDetails)
Error Details
|
InternalServerErrorException.Builder |
message(String message) |
copy
apply, build
InternalServerErrorException.Builder errorDetails(Collection<ErrorDetail> errorDetails)
errorDetails
- Error DetailsInternalServerErrorException.Builder errorDetails(ErrorDetail... errorDetails)
errorDetails
- Error DetailsInternalServerErrorException.Builder errorDetails(Consumer<ErrorDetail.Builder>... errorDetails)
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 #errorDetails(List)
.errorDetails
- a consumer that will call methods on List.Builder
#errorDetails(List)
InternalServerErrorException.Builder message(String message)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.