Interface ManagedKnowledgeBaseConnectorConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedKnowledgeBaseConnectorConfiguration.Builder,,ManagedKnowledgeBaseConnectorConfiguration> SdkBuilder<ManagedKnowledgeBaseConnectorConfiguration.Builder,,ManagedKnowledgeBaseConnectorConfiguration> SdkPojo
- Enclosing class:
ManagedKnowledgeBaseConnectorConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionconnectorParameters(Document connectorParameters) Connector-specific parameters.deletionProtectionConfiguration(Consumer<DeletionProtectionConfiguration.Builder> deletionProtectionConfiguration) A safeguard against accidental bulk deletion of indexed content.deletionProtectionConfiguration(DeletionProtectionConfiguration deletionProtectionConfiguration) A safeguard against accidental bulk deletion of indexed content.mediaExtractionConfiguration(Consumer<MediaExtractionConfiguration.Builder> mediaExtractionConfiguration) Configuration for extracting media (images, audio, video) from data source files.mediaExtractionConfiguration(MediaExtractionConfiguration mediaExtractionConfiguration) Configuration for extracting media (images, audio, video) from data source files.syncSchedule(Consumer<SyncSchedule.Builder> syncSchedule) The recurring schedule on which the connector automatically syncs this data source.syncSchedule(SyncSchedule syncSchedule) The recurring schedule on which the connector automatically syncs this data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
deletionProtectionConfiguration
ManagedKnowledgeBaseConnectorConfiguration.Builder deletionProtectionConfiguration(DeletionProtectionConfiguration deletionProtectionConfiguration) A safeguard against accidental bulk deletion of indexed content.
- Parameters:
deletionProtectionConfiguration- A safeguard against accidental bulk deletion of indexed content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtectionConfiguration
default ManagedKnowledgeBaseConnectorConfiguration.Builder deletionProtectionConfiguration(Consumer<DeletionProtectionConfiguration.Builder> deletionProtectionConfiguration) A safeguard against accidental bulk deletion of indexed content.
This is a convenience method that creates an instance of theDeletionProtectionConfiguration.Builderavoiding the need to create one manually viaDeletionProtectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeletionProtectionConfiguration(DeletionProtectionConfiguration).- Parameters:
deletionProtectionConfiguration- a consumer that will call methods onDeletionProtectionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaExtractionConfiguration
ManagedKnowledgeBaseConnectorConfiguration.Builder mediaExtractionConfiguration(MediaExtractionConfiguration mediaExtractionConfiguration) Configuration for extracting media (images, audio, video) from data source files.
- Parameters:
mediaExtractionConfiguration- Configuration for extracting media (images, audio, video) from data source files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaExtractionConfiguration
default ManagedKnowledgeBaseConnectorConfiguration.Builder mediaExtractionConfiguration(Consumer<MediaExtractionConfiguration.Builder> mediaExtractionConfiguration) Configuration for extracting media (images, audio, video) from data source files.
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:
-
connectorParameters
ManagedKnowledgeBaseConnectorConfiguration.Builder connectorParameters(Document connectorParameters) Connector-specific parameters. For more information, see Connect a data source.
- Parameters:
connectorParameters- Connector-specific parameters. For more information, see Connect a data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSchedule
The recurring schedule on which the connector automatically syncs this data source. If not specified, the data source is not synced automatically and you start each sync yourself. Not supported for the Custom connector.
- Parameters:
syncSchedule- The recurring schedule on which the connector automatically syncs this data source. If not specified, the data source is not synced automatically and you start each sync yourself. Not supported for the Custom connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncSchedule
default ManagedKnowledgeBaseConnectorConfiguration.Builder syncSchedule(Consumer<SyncSchedule.Builder> syncSchedule) The recurring schedule on which the connector automatically syncs this data source. If not specified, the data source is not synced automatically and you start each sync yourself. Not supported for the Custom connector.
This is a convenience method that creates an instance of theSyncSchedule.Builderavoiding the need to create one manually viaSyncSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosyncSchedule(SyncSchedule).- Parameters:
syncSchedule- a consumer that will call methods onSyncSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-