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 error code that identifies the type of error.errorMessage
(String errorMessage) The message for 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 error code that identifies the type of error.
- Parameters:
errorCode
- The error code that identifies the type of error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The message for the error.
- Parameters:
errorMessage
- The message for the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-