Class RetrievalResultLocation
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.RetrievalResultLocation
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>
@Generated("software.amazon.awssdk:codegen") public final class RetrievalResultLocation extends Object implements SdkPojo, Serializable, 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
location
field -
RetrieveAndGenerate response – in the
location
field -
InvokeAgent response – in the
locatino
field
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RetrievalResultLocation.Builder
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
confluenceLocation
public final RetrievalResultConfluenceLocation confluenceLocation()
The Confluence data source location.
- Returns:
- The Confluence data source location.
-
s3Location
public final RetrievalResultS3Location s3Location()
The S3 data source location.
- Returns:
- The S3 data source location.
-
salesforceLocation
public final RetrievalResultSalesforceLocation salesforceLocation()
The Salesforce data source location.
- Returns:
- The Salesforce data source location.
-
sharePointLocation
public final RetrievalResultSharePointLocation sharePointLocation()
The SharePoint data source location.
- Returns:
- The SharePoint data source location.
-
type
public final RetrievalResultLocationType type()
The type of data source location.
If the service returns an enum value that is not available in the current SDK version,
type
will returnRetrievalResultLocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type of data source location.
- See Also:
RetrievalResultLocationType
-
typeAsString
public final String typeAsString()
The type of data source location.
If the service returns an enum value that is not available in the current SDK version,
type
will returnRetrievalResultLocationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The type of data source location.
- See Also:
RetrievalResultLocationType
-
webLocation
public final RetrievalResultWebLocation webLocation()
The web URL/URLs data source location.
- Returns:
- The web URL/URLs data source location.
-
toBuilder
public RetrievalResultLocation.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<RetrievalResultLocation.Builder,RetrievalResultLocation>
-
builder
public static RetrievalResultLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends RetrievalResultLocation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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.
-
-