Interface ErrorDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ErrorDetail.Builder,
,ErrorDetail> SdkBuilder<ErrorDetail.Builder,
,ErrorDetail> SdkPojo
- Enclosing class:
ErrorDetail
public static interface ErrorDetail.Builder
extends SdkPojo, CopyableBuilder<ErrorDetail.Builder,ErrorDetail>
-
Method Summary
Modifier and TypeMethodDescriptionThe name or code associated with the error.errorData
(Collection<? extends Map<String, String>> errorData) A list of key value pairs that provides contextual information about why an error occured.A list of key value pairs that provides contextual information about why an error occured.errorMessage
(String errorMessage) A message that describes the error.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
errorCode
The name or code associated with the error.
- Parameters:
errorCode
- The name or code associated with the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorData
A list of key value pairs that provides contextual information about why an error occured.
- Parameters:
errorData
- A list of key value pairs that provides contextual information about why an error occured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorData
A list of key value pairs that provides contextual information about why an error occured.
- Parameters:
errorData
- A list of key value pairs that provides contextual information about why an error occured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
A message that describes the error.
- Parameters:
errorMessage
- A message that describes the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-