Interface DeletionProtectionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeletionProtectionConfiguration.Builder,,DeletionProtectionConfiguration> SdkBuilder<DeletionProtectionConfiguration.Builder,,DeletionProtectionConfiguration> SdkPojo
- Enclosing class:
DeletionProtectionConfiguration
@Mutable
@NotThreadSafe
public static interface DeletionProtectionConfiguration.Builder
extends SdkPojo, CopyableBuilder<DeletionProtectionConfiguration.Builder,DeletionProtectionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondeletionProtectionStatus(String deletionProtectionStatus) Enable or disable deletion protection for the connector.deletionProtectionStatus(EnabledOrDisabledState deletionProtectionStatus) Enable or disable deletion protection for the connector.deletionProtectionThreshold(Integer deletionProtectionThreshold) The threshold is the maximum percentage of documents that a sync job can delete from your index.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
-
deletionProtectionStatus
Enable or disable deletion protection for the connector.
- Parameters:
deletionProtectionStatus- Enable or disable deletion protection for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletionProtectionStatus
DeletionProtectionConfiguration.Builder deletionProtectionStatus(EnabledOrDisabledState deletionProtectionStatus) Enable or disable deletion protection for the connector.
- Parameters:
deletionProtectionStatus- Enable or disable deletion protection for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletionProtectionThreshold
DeletionProtectionConfiguration.Builder deletionProtectionThreshold(Integer deletionProtectionThreshold) The threshold is the maximum percentage of documents that a sync job can delete from your index. If a sync would delete more than this percentage, the sync skips its delete phase, leaving your indexed documents in place. Not supported for the Custom connector.
- Parameters:
deletionProtectionThreshold- The threshold is the maximum percentage of documents that a sync job can delete from your index. If a sync would delete more than this percentage, the sync skips its delete phase, leaving your indexed documents in place. Not supported for the Custom connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-