Interface UserError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UserError.Builder,UserError>,SdkBuilder<UserError.Builder,UserError>,SdkPojo
- Enclosing class:
- UserError
public static interface UserError.Builder extends SdkPojo, CopyableBuilder<UserError.Builder,UserError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserError.BuildererrorCode(String errorCode)The error code.UserError.BuildererrorCode(ErrorCode errorCode)The error code.UserError.BuildererrorMessage(String errorMessage)The error message.UserError.BuilderuserId(String userId)The user ID for which the action 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
userId
UserError.Builder userId(String userId)
The user ID for which the action failed.
- Parameters:
userId- The user ID for which the action failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
UserError.Builder errorCode(String errorCode)
The error code.
-
errorCode
UserError.Builder errorCode(ErrorCode errorCode)
The error code.
-
errorMessage
UserError.Builder errorMessage(String errorMessage)
The error message.
- Parameters:
errorMessage- The error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-