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