Interface FeaturedResultsConflictException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<FeaturedResultsConflictException.Builder,FeaturedResultsConflictException>,KendraException.Builder,SdkBuilder<FeaturedResultsConflictException.Builder,FeaturedResultsConflictException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- FeaturedResultsConflictException
public static interface FeaturedResultsConflictException.Builder extends SdkPojo, CopyableBuilder<FeaturedResultsConflictException.Builder,FeaturedResultsConflictException>, KendraException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FeaturedResultsConflictException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)FeaturedResultsConflictException.Buildercause(Throwable cause)FeaturedResultsConflictException.BuilderconflictingItems(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.BuilderconflictingItems(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.BuilderconflictingItems(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.Buildermessage(String message)FeaturedResultsConflictException.BuilderrequestId(String requestId)FeaturedResultsConflictException.BuilderstatusCode(int statusCode)FeaturedResultsConflictException.BuilderwritableStackTrace(Boolean writableStackTrace)-
Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestId
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
conflictingItems
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflictingItems
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflictingItems
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.Builderavoiding the need to create one manually viaConflictingItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conflictingItems(List.) - Parameters:
conflictingItems- a consumer that will call methods onConflictingItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#conflictingItems(java.util.Collection)
-
awsErrorDetails
FeaturedResultsConflictException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceKendraException.Builder
-
message
FeaturedResultsConflictException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceKendraException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
FeaturedResultsConflictException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceKendraException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
FeaturedResultsConflictException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceKendraException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
FeaturedResultsConflictException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceKendraException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
FeaturedResultsConflictException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceKendraException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-