Interface ErrorResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ErrorResult.Builder,,ErrorResult> SdkBuilder<ErrorResult.Builder,,ErrorResult> SdkPojo
- Enclosing class:
ErrorResult
@Mutable
@NotThreadSafe
public static interface ErrorResult.Builder
extends SdkPojo, CopyableBuilder<ErrorResult.Builder,ErrorResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code.errorMessage(String errorMessage) The corresponding error message for the error code.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
-
errorCode
The error code.
- Parameters:
errorCode- The error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The corresponding error message for the error code.
- Parameters:
errorMessage- The corresponding error message for the error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-