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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorDetail.BuildererrorCode(String errorCode)The name or code associated with the error.ErrorDetail.BuildererrorData(Collection<? extends Map<String,String>> errorData)A list of key value pairs that provides contextual information about why an error occured.ErrorDetail.BuildererrorData(Map<String,String>... errorData)A list of key value pairs that provides contextual information about why an error occured.ErrorDetail.BuildererrorMessage(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
errorCode
ErrorDetail.Builder errorCode(String 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
ErrorDetail.Builder errorData(Collection<? extends Map<String,String>> 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
ErrorDetail.Builder errorData(Map<String,String>... 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
ErrorDetail.Builder errorMessage(String 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.
-
-