Interface ErrorInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ErrorInfo.Builder,ErrorInfo>,SdkBuilder<ErrorInfo.Builder,ErrorInfo>,SdkPojo
- Enclosing class:
- ErrorInfo
public static interface ErrorInfo.Builder extends SdkPojo, CopyableBuilder<ErrorInfo.Builder,ErrorInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorInfo.Buildercode(String code)The error code for an invalid or failed operation.ErrorInfo.Builderreason(String reason)The failure reason for the operation.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
code
ErrorInfo.Builder code(String code)
The error code for an invalid or failed operation.
- Parameters:
code- The error code for an invalid or failed operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
ErrorInfo.Builder reason(String reason)
The failure reason for the operation.
- Parameters:
reason- The failure reason for the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-