Interface ErrorObject.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ErrorObject.Builder,,ErrorObject> SdkBuilder<ErrorObject.Builder,,ErrorObject> SdkPojo
- Enclosing class:
ErrorObject
@Mutable
@NotThreadSafe
public static interface ErrorObject.Builder
extends SdkPojo, CopyableBuilder<ErrorObject.Builder,ErrorObject>
-
Method Summary
Modifier and TypeMethodDescriptionMachine-readable error data.errorMessage(String errorMessage) A human-readable error message.The error type.stackTrace(String... stackTrace) Stack trace information for the error.stackTrace(Collection<String> stackTrace) Stack trace information for the error.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
errorMessage
A human-readable error message.
- Parameters:
errorMessage- A human-readable error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorType
The error type.
- Parameters:
errorType- The error type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorData
Machine-readable error data.
- Parameters:
errorData- Machine-readable error data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackTrace
Stack trace information for the error.
- Parameters:
stackTrace- Stack trace information for the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackTrace
Stack trace information for the error.
- Parameters:
stackTrace- Stack trace information for the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-