Class RetrievalResultLocation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>
Contains information about the data source location.
This data type is used in the following API operations:
-
Retrieve response – in the
locationfield -
RetrieveAndGenerate response – in the
locationfield -
InvokeAgent response – in the
locationfield
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The Confluence data source location.Specifies the location of a document in a custom data source.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The location of a document in Amazon Kendra.The S3 data source location.The Salesforce data source location.static Class<? extends RetrievalResultLocation.Builder>The SharePoint data source location.Specifies information about the SQL query used to retrieve the result.final StringtoString()Returns a string representation of this object.type()The type of data source location.final StringThe type of data source location.The web URL/URLs data source location.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
confluenceLocation
The Confluence data source location.
- Returns:
- The Confluence data source location.
-
customDocumentLocation
Specifies the location of a document in a custom data source.
- Returns:
- Specifies the location of a document in a custom data source.
-
kendraDocumentLocation
The location of a document in Amazon Kendra.
- Returns:
- The location of a document in Amazon Kendra.
-
s3Location
The S3 data source location.
- Returns:
- The S3 data source location.
-
salesforceLocation
The Salesforce data source location.
- Returns:
- The Salesforce data source location.
-
sqlLocation
Specifies information about the SQL query used to retrieve the result.
- Returns:
- Specifies information about the SQL query used to retrieve the result.
-
type
The type of data source location.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRetrievalResultLocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of data source location.
- See Also:
-
typeAsString
The type of data source location.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRetrievalResultLocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of data source location.
- See Also:
-
webLocation
The web URL/URLs data source location.
- Returns:
- The web URL/URLs data source location.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-