public static interface FeaturedResultsConflictException.Builder extends SdkPojo, CopyableBuilder<FeaturedResultsConflictException.Builder,FeaturedResultsConflictException>, KendraException.Builder
| Modifier and Type | Method and Description |
|---|---|
FeaturedResultsConflictException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
FeaturedResultsConflictException.Builder |
cause(Throwable cause) |
FeaturedResultsConflictException.Builder |
conflictingItems(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.Builder |
conflictingItems(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.Builder |
conflictingItems(Consumer<ConflictingItem.Builder>... 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.Builder |
message(String message) |
FeaturedResultsConflictException.Builder |
requestId(String requestId) |
FeaturedResultsConflictException.Builder |
statusCode(int statusCode) |
FeaturedResultsConflictException.Builder |
writableStackTrace(Boolean writableStackTrace) |
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, message, writableStackTraceequalsBySdkFields, sdkFieldsFeaturedResultsConflictException.Builder conflictingItems(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.FeaturedResultsConflictException.Builder conflictingItems(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.FeaturedResultsConflictException.Builder conflictingItems(Consumer<ConflictingItem.Builder>... 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.
This is a convenience method that creates an instance of theConflictingItem.Builder avoiding the need to create one
manually via ConflictingItem.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #conflictingItems(List.
conflictingItems - a consumer that will call methods on
ConflictingItem.Builder#conflictingItems(java.util.Collection) FeaturedResultsConflictException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface KendraException.BuilderFeaturedResultsConflictException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface KendraException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderFeaturedResultsConflictException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface KendraException.BuilderrequestId in interface SdkServiceException.BuilderFeaturedResultsConflictException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface KendraException.BuilderstatusCode in interface SdkServiceException.BuilderFeaturedResultsConflictException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface KendraException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderFeaturedResultsConflictException.Builder writableStackTrace(Boolean writableStackTrace)
writableStackTrace in interface KendraException.BuilderwritableStackTrace in interface SdkException.BuilderwritableStackTrace in interface SdkServiceException.BuilderCopyright © 2023. All rights reserved.