public static interface ErrorDetail.Builder extends SdkPojo, CopyableBuilder<ErrorDetail.Builder,ErrorDetail>
| Modifier and Type | Method and Description |
|---|---|
ErrorDetail.Builder |
errorCode(String errorCode)
The name or code associated with the error.
|
ErrorDetail.Builder |
errorData(Collection<? extends Map<String,String>> errorData)
A list of key value pairs that provides contextual information about why an error occured.
|
ErrorDetail.Builder |
errorData(Map<String,String>... errorData)
A list of key value pairs that provides contextual information about why an error occured.
|
ErrorDetail.Builder |
errorMessage(String errorMessage)
A message that describes the error.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildErrorDetail.Builder errorCode(String errorCode)
The name or code associated with the error.
errorCode - The name or code associated with the error.ErrorDetail.Builder errorData(Collection<? extends Map<String,String>> errorData)
A list of key value pairs that provides contextual information about why an error occured.
errorData - A list of key value pairs that provides contextual information about why an error occured.ErrorDetail.Builder errorData(Map<String,String>... errorData)
A list of key value pairs that provides contextual information about why an error occured.
errorData - A list of key value pairs that provides contextual information about why an error occured.ErrorDetail.Builder errorMessage(String errorMessage)
A message that describes the error.
errorMessage - A message that describes the error.Copyright © 2023. All rights reserved.