Class CitationsConfig
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.CitationsConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CitationsConfig.Builder,CitationsConfig>
@Generated("software.amazon.awssdk:codegen")
public final class CitationsConfig
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<CitationsConfig.Builder,CitationsConfig>
Configuration settings for enabling and controlling document citations in Converse API responses. When enabled, the model can include citation information that links generated content back to specific source documents.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CitationsConfig.Builderbuilder()final Booleanenabled()Specifies whether citations from the selected document should be used in the model's response.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends CitationsConfig.Builder>final StringtoString()Returns a string representation of this object.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
-
enabled
Specifies whether citations from the selected document should be used in the model's response. When set to true, the model can generate citations that reference the source documents used to inform the response.
- Returns:
- Specifies whether citations from the selected document should be used in the model's response. When set to true, the model can generate citations that reference the source documents used to inform the response.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CitationsConfig.Builder,CitationsConfig>
-
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
-