Interface ErrorDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ErrorDetails.Builder,ErrorDetails>,SdkBuilder<ErrorDetails.Builder,ErrorDetails>,SdkPojo
- Enclosing class:
- ErrorDetails
@Mutable @NotThreadSafe public static interface ErrorDetails.Builder extends SdkPojo, CopyableBuilder<ErrorDetails.Builder,ErrorDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorDetails.BuildererrorMessage(String errorMessage)A message describing the error.ErrorDetails.BuildererrorType(String errorType)The type of error that occurred.-
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
-
errorType
ErrorDetails.Builder errorType(String errorType)
The type of error that occurred.
- Parameters:
errorType- The type of error that occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
ErrorDetails.Builder errorMessage(String errorMessage)
A message describing the error.
- Parameters:
errorMessage- A message describing the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-