Interface UpdateKnowledgeBaseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<UpdateKnowledgeBaseRequest.Builder,UpdateKnowledgeBaseRequest>,SdkBuilder<UpdateKnowledgeBaseRequest.Builder,UpdateKnowledgeBaseRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateKnowledgeBaseRequest
public static interface UpdateKnowledgeBaseRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<UpdateKnowledgeBaseRequest.Builder,UpdateKnowledgeBaseRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateKnowledgeBaseRequest.Builderdescription(String description)Sets the value of the Description property for this object.default UpdateKnowledgeBaseRequest.BuilderknowledgeBaseConfiguration(Consumer<KnowledgeBaseConfiguration.Builder> knowledgeBaseConfiguration)Sets the value of the KnowledgeBaseConfiguration property for this object.UpdateKnowledgeBaseRequest.BuilderknowledgeBaseConfiguration(KnowledgeBaseConfiguration knowledgeBaseConfiguration)Sets the value of the KnowledgeBaseConfiguration property for this object.UpdateKnowledgeBaseRequest.BuilderknowledgeBaseId(String knowledgeBaseId)Sets the value of the KnowledgeBaseId property for this object.UpdateKnowledgeBaseRequest.Buildername(String name)Sets the value of the Name property for this object.UpdateKnowledgeBaseRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateKnowledgeBaseRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateKnowledgeBaseRequest.BuilderroleArn(String roleArn)Sets the value of the RoleArn property for this object.default UpdateKnowledgeBaseRequest.BuilderstorageConfiguration(Consumer<StorageConfiguration.Builder> storageConfiguration)Sets the value of the StorageConfiguration property for this object.UpdateKnowledgeBaseRequest.BuilderstorageConfiguration(StorageConfiguration storageConfiguration)Sets the value of the StorageConfiguration property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.Builder
build
-
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
-
knowledgeBaseId
UpdateKnowledgeBaseRequest.Builder knowledgeBaseId(String knowledgeBaseId)
Sets the value of the KnowledgeBaseId property for this object.- Parameters:
knowledgeBaseId- The new value for the KnowledgeBaseId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateKnowledgeBaseRequest.Builder name(String name)
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateKnowledgeBaseRequest.Builder description(String description)
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
UpdateKnowledgeBaseRequest.Builder roleArn(String roleArn)
Sets the value of the RoleArn property for this object.- Parameters:
roleArn- The new value for the RoleArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseConfiguration
UpdateKnowledgeBaseRequest.Builder knowledgeBaseConfiguration(KnowledgeBaseConfiguration 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 UpdateKnowledgeBaseRequest.Builder knowledgeBaseConfiguration(Consumer<KnowledgeBaseConfiguration.Builder> knowledgeBaseConfiguration)
Sets the value of the KnowledgeBaseConfiguration property for this object. This is a convenience method that creates an instance of theKnowledgeBaseConfiguration.Builderavoiding the need to create one manually viaKnowledgeBaseConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toknowledgeBaseConfiguration(KnowledgeBaseConfiguration).- Parameters:
knowledgeBaseConfiguration- a consumer that will call methods onKnowledgeBaseConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
knowledgeBaseConfiguration(KnowledgeBaseConfiguration)
-
storageConfiguration
UpdateKnowledgeBaseRequest.Builder storageConfiguration(StorageConfiguration storageConfiguration)
Sets the value of the StorageConfiguration property for this object.- Parameters:
storageConfiguration- The new value for the StorageConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfiguration
default UpdateKnowledgeBaseRequest.Builder storageConfiguration(Consumer<StorageConfiguration.Builder> storageConfiguration)
Sets the value of the StorageConfiguration property for this object. This is a convenience method that creates an instance of theStorageConfiguration.Builderavoiding the need to create one manually viaStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageConfiguration(StorageConfiguration).- Parameters:
storageConfiguration- a consumer that will call methods onStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
storageConfiguration(StorageConfiguration)
-
overrideConfiguration
UpdateKnowledgeBaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateKnowledgeBaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-