Class BatchDeleteDetectorErrorEntry
- java.lang.Object
-
- software.amazon.awssdk.services.ioteventsdata.model.BatchDeleteDetectorErrorEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchDeleteDetectorErrorEntry.Builder,BatchDeleteDetectorErrorEntry>
@Generated("software.amazon.awssdk:codegen") public final class BatchDeleteDetectorErrorEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchDeleteDetectorErrorEntry.Builder,BatchDeleteDetectorErrorEntry>
Contains error messages associated with the deletion request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchDeleteDetectorErrorEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchDeleteDetectorErrorEntry.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorCodeerrorCode()The error code.StringerrorCodeAsString()The error code.StringerrorMessage()A message that describes the error.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmessageId()The ID of the message that caused the error.List<SdkField<?>>sdkFields()static Class<? extends BatchDeleteDetectorErrorEntry.Builder>serializableBuilderClass()BatchDeleteDetectorErrorEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
messageId
public final String messageId()
The ID of the message that caused the error. (See the value of the
"messageId"in the detectors object of theDeleteDetectorRequest.)- Returns:
- The ID of the message that caused the error. (See the value of the
"messageId"in the detectors object of theDeleteDetectorRequest.)
-
errorCode
public final ErrorCode errorCode()
The error code.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code.
- See Also:
ErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
The error code.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code.
- See Also:
ErrorCode
-
errorMessage
public final String errorMessage()
A message that describes the error.
- Returns:
- A message that describes the error.
-
toBuilder
public BatchDeleteDetectorErrorEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchDeleteDetectorErrorEntry.Builder,BatchDeleteDetectorErrorEntry>
-
builder
public static BatchDeleteDetectorErrorEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchDeleteDetectorErrorEntry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-