Interface InferenceConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InferenceConfiguration.Builder,InferenceConfiguration>,SdkBuilder<InferenceConfiguration.Builder,InferenceConfiguration>,SdkPojo
- Enclosing class:
- InferenceConfiguration
public static interface InferenceConfiguration.Builder extends SdkPojo, CopyableBuilder<InferenceConfiguration.Builder,InferenceConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InferenceConfiguration.BuildermaximumLength(Integer maximumLength)Sets the value of the MaximumLength property for this object.InferenceConfiguration.BuilderstopSequences(String... stopSequences)Sets the value of the StopSequences property for this object.InferenceConfiguration.BuilderstopSequences(Collection<String> stopSequences)Sets the value of the StopSequences property for this object.InferenceConfiguration.Buildertemperature(Float temperature)Sets the value of the Temperature property for this object.InferenceConfiguration.BuildertopK(Integer topK)Sets the value of the TopK property for this object.InferenceConfiguration.BuildertopP(Float topP)Sets the value of the TopP property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
temperature
InferenceConfiguration.Builder temperature(Float temperature)
Sets the value of the Temperature property for this object.- Parameters:
temperature- The new value for the Temperature property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topP
InferenceConfiguration.Builder topP(Float topP)
Sets the value of the TopP property for this object.- Parameters:
topP- The new value for the TopP property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topK
InferenceConfiguration.Builder topK(Integer topK)
Sets the value of the TopK property for this object.- Parameters:
topK- The new value for the TopK property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumLength
InferenceConfiguration.Builder maximumLength(Integer maximumLength)
Sets the value of the MaximumLength property for this object.- Parameters:
maximumLength- The new value for the MaximumLength property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopSequences
InferenceConfiguration.Builder stopSequences(Collection<String> stopSequences)
Sets the value of the StopSequences property for this object.- Parameters:
stopSequences- The new value for the StopSequences property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopSequences
InferenceConfiguration.Builder stopSequences(String... stopSequences)
Sets the value of the StopSequences property for this object.- Parameters:
stopSequences- The new value for the StopSequences property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-