Interface ErrorDetails.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ErrorDetails.Builder,ErrorDetails>
,SdkBuilder<ErrorDetails.Builder,ErrorDetails>
,SdkPojo
- Enclosing class:
- ErrorDetails
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.Builder
code(String code)
The error code associated with the operation failure.ErrorDetails.Builder
message(String message)
Detailed information about the reason that the operation failed.-
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 Detail
-
message
ErrorDetails.Builder message(String message)
Detailed information about the reason that the operation failed.
- Parameters:
message
- Detailed information about the reason that the operation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
ErrorDetails.Builder code(String code)
The error code associated with the operation failure.
- Parameters:
code
- The error code associated with the operation failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-