@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FeaturedResultsConflictException extends AWSkendraException
An error message with a list of conflicting queries used across different sets of featured results. This occurred with the request for a new featured results set. Check that the queries you specified for featured results are unique per featured results set for each index.
AmazonServiceException.ErrorType
Constructor and Description |
---|
FeaturedResultsConflictException(String message)
Constructs a new FeaturedResultsConflictException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
List<ConflictingItem> |
getConflictingItems()
A list of the conflicting queries, including the query text, the name for the featured results set, and the
identifier of the featured results set.
|
void |
setConflictingItems(Collection<ConflictingItem> conflictingItems)
A list of the conflicting queries, including the query text, the name for the featured results set, and the
identifier of the featured results set.
|
FeaturedResultsConflictException |
withConflictingItems(Collection<ConflictingItem> conflictingItems)
A list of the conflicting queries, including the query text, the name for the featured results set, and the
identifier of the featured results set.
|
FeaturedResultsConflictException |
withConflictingItems(ConflictingItem... conflictingItems)
A list of the conflicting queries, including the query text, the name for the featured results set, and the
identifier of the featured results set.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FeaturedResultsConflictException(String message)
message
- Describes the error encountered.public List<ConflictingItem> getConflictingItems()
A list of the conflicting queries, including the query text, the name for the featured results set, and the identifier of the featured results set.
public void setConflictingItems(Collection<ConflictingItem> conflictingItems)
A list of the conflicting queries, including the query text, the name for the featured results set, and the identifier of the featured results set.
conflictingItems
- A list of the conflicting queries, including the query text, the name for the featured results set, and
the identifier of the featured results set.public FeaturedResultsConflictException withConflictingItems(ConflictingItem... conflictingItems)
A list of the conflicting queries, including the query text, the name for the featured results set, and the identifier of the featured results set.
NOTE: This method appends the values to the existing list (if any). Use
setConflictingItems(java.util.Collection)
or withConflictingItems(java.util.Collection)
if you
want to override the existing values.
conflictingItems
- A list of the conflicting queries, including the query text, the name for the featured results set, and
the identifier of the featured results set.public FeaturedResultsConflictException withConflictingItems(Collection<ConflictingItem> conflictingItems)
A list of the conflicting queries, including the query text, the name for the featured results set, and the identifier of the featured results set.
conflictingItems
- A list of the conflicting queries, including the query text, the name for the featured results set, and
the identifier of the featured results set.