Class KnowledgeBaseLookupInput
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.KnowledgeBaseLookupInput
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<KnowledgeBaseLookupInput.Builder,KnowledgeBaseLookupInput>
@Generated("software.amazon.awssdk:codegen") public final class KnowledgeBaseLookupInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KnowledgeBaseLookupInput.Builder,KnowledgeBaseLookupInput>
Contains details about the knowledge base to look up and the query to be made.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
KnowledgeBaseLookupInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KnowledgeBaseLookupInput.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
knowledgeBaseId()
The unique identifier of the knowledge base to look up.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends KnowledgeBaseLookupInput.Builder>
serializableBuilderClass()
String
text()
The query made to the knowledge base.KnowledgeBaseLookupInput.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
knowledgeBaseId
public final String knowledgeBaseId()
The unique identifier of the knowledge base to look up.
- Returns:
- The unique identifier of the knowledge base to look up.
-
text
public final String text()
The query made to the knowledge base.
- Returns:
- The query made to the knowledge base.
-
toBuilder
public KnowledgeBaseLookupInput.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<KnowledgeBaseLookupInput.Builder,KnowledgeBaseLookupInput>
-
builder
public static KnowledgeBaseLookupInput.Builder builder()
-
serializableBuilderClass
public static Class<? extends KnowledgeBaseLookupInput.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-