Interface KnowledgeBaseConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>,SdkBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>,SdkPojo
- Enclosing class:
- KnowledgeBaseConfiguration
public static interface KnowledgeBaseConfiguration.Builder extends SdkPojo, CopyableBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description KnowledgeBaseConfiguration.Buildertype(String type)Sets the value of the Type property for this object.KnowledgeBaseConfiguration.Buildertype(KnowledgeBaseType type)Sets the value of the Type property for this object.default KnowledgeBaseConfiguration.BuildervectorKnowledgeBaseConfiguration(Consumer<VectorKnowledgeBaseConfiguration.Builder> vectorKnowledgeBaseConfiguration)Sets the value of the VectorKnowledgeBaseConfiguration property for this object.KnowledgeBaseConfiguration.BuildervectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)Sets the value of the VectorKnowledgeBaseConfiguration 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
-
type
KnowledgeBaseConfiguration.Builder type(String type)
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KnowledgeBaseType,KnowledgeBaseType
-
type
KnowledgeBaseConfiguration.Builder type(KnowledgeBaseType type)
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KnowledgeBaseType,KnowledgeBaseType
-
vectorKnowledgeBaseConfiguration
KnowledgeBaseConfiguration.Builder vectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)
Sets the value of the VectorKnowledgeBaseConfiguration property for this object.- Parameters:
vectorKnowledgeBaseConfiguration- The new value for the VectorKnowledgeBaseConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorKnowledgeBaseConfiguration
default KnowledgeBaseConfiguration.Builder vectorKnowledgeBaseConfiguration(Consumer<VectorKnowledgeBaseConfiguration.Builder> vectorKnowledgeBaseConfiguration)
Sets the value of the VectorKnowledgeBaseConfiguration property for this object. This is a convenience method that creates an instance of theVectorKnowledgeBaseConfiguration.Builderavoiding the need to create one manually viaVectorKnowledgeBaseConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration).- Parameters:
vectorKnowledgeBaseConfiguration- a consumer that will call methods onVectorKnowledgeBaseConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration)
-
-