@Generated(value="software.amazon.awssdk:codegen") public final class BatchPutMessageErrorEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchPutMessageErrorEntry.Builder,BatchPutMessageErrorEntry>
Contains informations about errors.
Modifier and Type | Class and Description |
---|---|
static interface |
BatchPutMessageErrorEntry.Builder |
Modifier and Type | Method and Description |
---|---|
static BatchPutMessageErrorEntry.Builder |
builder() |
boolean |
equals(Object obj) |
String |
errorCode()
The code associated with the error.
|
String |
errorMessage()
The message associated with the error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
messageId()
The ID of the message that caused the error.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchPutMessageErrorEntry.Builder> |
serializableBuilderClass() |
BatchPutMessageErrorEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String messageId()
The ID of the message that caused the error. (See the value corresponding to the "messageId" key in the message object.)
public String errorCode()
The code associated with the error.
public String errorMessage()
The message associated with the error.
public BatchPutMessageErrorEntry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BatchPutMessageErrorEntry.Builder,BatchPutMessageErrorEntry>
public static BatchPutMessageErrorEntry.Builder builder()
public static Class<? extends BatchPutMessageErrorEntry.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.