Class OutputConfig
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.OutputConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OutputConfig.Builder,OutputConfig>
@Generated("software.amazon.awssdk:codegen")
public final class OutputConfig
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<OutputConfig.Builder,OutputConfig>
Output configuration for a model response in a call to Converse or ConverseStream.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputConfig.Builderbuilder()final Stringeffort()The effort level for the model to use when generating a response.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends OutputConfig.Builder>final OutputFormatStructured output parameters to control the model's text response.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
-
textFormat
Structured output parameters to control the model's text response.
- Returns:
- Structured output parameters to control the model's text response.
-
effort
The effort level for the model to use when generating a response. Higher effort levels allow the model to spend more time reasoning before responding. Supported values are
low,medium,high,xhigh, andmax.When extended thinking is disabled, the effort level is capped at
high. Use efforthighor below, or enable thinking to use higher effort levels.- Returns:
- The effort level for the model to use when generating a response. Higher effort levels allow the model to
spend more time reasoning before responding. Supported values are
low,medium,high,xhigh, andmax.When extended thinking is disabled, the effort level is capped at
high. Use efforthighor below, or enable thinking to use higher effort levels.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<OutputConfig.Builder,OutputConfig>
-
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
-