@Generated(value="software.amazon.awssdk:codegen") public final class CollectionErrorDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CollectionErrorDetail.Builder,CollectionErrorDetail>
Error information for an OpenSearch Serverless request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CollectionErrorDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CollectionErrorDetail.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
The error code for the request.
|
String |
errorMessage()
A description of the error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
If the request contains collection IDs, the response includes the IDs provided in the request.
|
String |
name()
If the request contains collection names, the response includes the names provided in the request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CollectionErrorDetail.Builder> |
serializableBuilderClass() |
CollectionErrorDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String errorCode()
The error code for the request. For example, NOT_FOUND.
NOT_FOUND.public final String errorMessage()
A description of the error. For example, The specified Collection is not found.
The specified Collection is not found.public final String id()
If the request contains collection IDs, the response includes the IDs provided in the request.
public final String name()
If the request contains collection names, the response includes the names provided in the request.
public CollectionErrorDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CollectionErrorDetail.Builder,CollectionErrorDetail>public static CollectionErrorDetail.Builder builder()
public static Class<? extends CollectionErrorDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.