Class RetrieveRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeRequest
software.amazon.awssdk.services.bedrockagentruntime.model.RetrieveRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RetrieveRequest.Builder,RetrieveRequest>
@Generated("software.amazon.awssdk:codegen")
public final class RetrieveRequest
extends BedrockAgentRuntimeRequest
implements ToCopyableBuilder<RetrieveRequest.Builder,RetrieveRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RetrieveRequest.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final GuardrailConfigurationGuardrail settings.final inthashCode()final StringThe unique identifier of the knowledge base to query.final StringIf there are more results than can fit in the response, the response returns anextToken.Contains configurations for the knowledge base query and retrieval process.final KnowledgeBaseQueryContains the query to send the knowledge base.static Class<? extends RetrieveRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods 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
-
guardrailConfiguration
Guardrail settings.
- Returns:
- Guardrail settings.
-
knowledgeBaseId
The unique identifier of the knowledge base to query.
- Returns:
- The unique identifier of the knowledge base to query.
-
nextToken
If there are more results than can fit in the response, the response returns a
nextToken. Use this token in thenextTokenfield of another request to retrieve the next batch of results.- Returns:
- If there are more results than can fit in the response, the response returns a
nextToken. Use this token in thenextTokenfield of another request to retrieve the next batch of results.
-
retrievalConfiguration
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
- Returns:
- Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
-
retrievalQuery
Contains the query to send the knowledge base.
- Returns:
- Contains the query to send the knowledge base.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetrieveRequest.Builder,RetrieveRequest> - Specified by:
toBuilderin classBedrockAgentRuntimeRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-