Interface BatchPutMessageErrorEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutMessageErrorEntry.Builder,BatchPutMessageErrorEntry>,SdkBuilder<BatchPutMessageErrorEntry.Builder,BatchPutMessageErrorEntry>,SdkPojo
- Enclosing class:
- BatchPutMessageErrorEntry
public static interface BatchPutMessageErrorEntry.Builder extends SdkPojo, CopyableBuilder<BatchPutMessageErrorEntry.Builder,BatchPutMessageErrorEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchPutMessageErrorEntry.BuildererrorCode(String errorCode)The error code.BatchPutMessageErrorEntry.BuildererrorCode(ErrorCode errorCode)The error code.BatchPutMessageErrorEntry.BuildererrorMessage(String errorMessage)A message that describes the error.BatchPutMessageErrorEntry.BuildermessageId(String messageId)The ID of the message that caused the error.-
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
-
messageId
BatchPutMessageErrorEntry.Builder messageId(String messageId)
The ID of the message that caused the error. (See the value corresponding to the
"messageId"key in the"message"object.)- Parameters:
messageId- The ID of the message that caused the error. (See the value corresponding to the"messageId"key in the"message"object.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
BatchPutMessageErrorEntry.Builder errorCode(String errorCode)
The error code.
-
errorCode
BatchPutMessageErrorEntry.Builder errorCode(ErrorCode errorCode)
The error code.
-
errorMessage
BatchPutMessageErrorEntry.Builder errorMessage(String errorMessage)
A message that describes the error.
- Parameters:
errorMessage- A message that describes the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-