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
Modifier and TypeMethodDescriptionThe status code identifying the type of error.A human-readable description of 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
-
code
The status code identifying the type of error.
- Parameters:
code- The status code identifying the type of error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
A human-readable description of the error.
- Parameters:
message- A human-readable description of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-