Interface UpdateKnowledgeBaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateKnowledgeBaseRequest.Builder,,UpdateKnowledgeBaseRequest> QuickSightRequest.Builder,SdkBuilder<UpdateKnowledgeBaseRequest.Builder,,UpdateKnowledgeBaseRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateKnowledgeBaseRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessControlConfiguration(Consumer<AccessControlConfiguration.Builder> accessControlConfiguration) The access control configuration for the knowledge base.accessControlConfiguration(AccessControlConfiguration accessControlConfiguration) The access control configuration for the knowledge base.awsAccountId(String awsAccountId) The ID of the Amazon Web Services account that contains the knowledge base.description(String description) A description for the knowledge base.isEmailNotificationOptedForIngestionFailures(Boolean isEmailNotificationOptedForIngestionFailures) Specifies whether email notifications are enabled for ingestion failures.knowledgeBaseConfiguration(Consumer<KnowledgeBaseConfiguration.Builder> knowledgeBaseConfiguration) Sets the value of the KnowledgeBaseConfiguration property for this object.knowledgeBaseConfiguration(KnowledgeBaseConfiguration knowledgeBaseConfiguration) Sets the value of the KnowledgeBaseConfiguration property for this object.knowledgeBaseId(String knowledgeBaseId) The unique identifier for the knowledge base.mediaExtractionConfiguration(Consumer<MediaExtractionConfiguration.Builder> mediaExtractionConfiguration) Sets the value of the MediaExtractionConfiguration property for this object.mediaExtractionConfiguration(MediaExtractionConfiguration mediaExtractionConfiguration) Sets the value of the MediaExtractionConfiguration property for this object.The name of the knowledge base.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account that contains the knowledge base.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account that contains the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
The unique identifier for the knowledge base.
- Parameters:
knowledgeBaseId- The unique identifier for the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the knowledge base. If you don't specify a name, the existing name is retained.
- Parameters:
name- The name of the knowledge base. If you don't specify a name, the existing name is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the knowledge base. If you don't specify a description, the existing description is retained.
- Parameters:
description- A description for the knowledge base. If you don't specify a description, the existing description is retained.- 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:
-
mediaExtractionConfiguration
UpdateKnowledgeBaseRequest.Builder mediaExtractionConfiguration(MediaExtractionConfiguration mediaExtractionConfiguration) Sets the value of the MediaExtractionConfiguration property for this object.- Parameters:
mediaExtractionConfiguration- The new value for the MediaExtractionConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaExtractionConfiguration
default UpdateKnowledgeBaseRequest.Builder mediaExtractionConfiguration(Consumer<MediaExtractionConfiguration.Builder> mediaExtractionConfiguration) Sets the value of the MediaExtractionConfiguration property for this object. This is a convenience method that creates an instance of theMediaExtractionConfiguration.Builderavoiding the need to create one manually viaMediaExtractionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomediaExtractionConfiguration(MediaExtractionConfiguration).- Parameters:
mediaExtractionConfiguration- a consumer that will call methods onMediaExtractionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isEmailNotificationOptedForIngestionFailures
UpdateKnowledgeBaseRequest.Builder isEmailNotificationOptedForIngestionFailures(Boolean isEmailNotificationOptedForIngestionFailures) Specifies whether email notifications are enabled for ingestion failures.
- Parameters:
isEmailNotificationOptedForIngestionFailures- Specifies whether email notifications are enabled for ingestion failures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlConfiguration
UpdateKnowledgeBaseRequest.Builder accessControlConfiguration(AccessControlConfiguration accessControlConfiguration) The access control configuration for the knowledge base. If you don't specify this parameter, the existing setting is retained.
- Parameters:
accessControlConfiguration- The access control configuration for the knowledge base. If you don't specify this parameter, the existing setting is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlConfiguration
default UpdateKnowledgeBaseRequest.Builder accessControlConfiguration(Consumer<AccessControlConfiguration.Builder> accessControlConfiguration) The access control configuration for the knowledge base. If you don't specify this parameter, the existing setting is retained.
This is a convenience method that creates an instance of theAccessControlConfiguration.Builderavoiding the need to create one manually viaAccessControlConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessControlConfiguration(AccessControlConfiguration).- Parameters:
accessControlConfiguration- a consumer that will call methods onAccessControlConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateKnowledgeBaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateKnowledgeBaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-