Interface DeletionProtectionSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeletionProtectionSettings.Builder,
,DeletionProtectionSettings> SdkBuilder<DeletionProtectionSettings.Builder,
,DeletionProtectionSettings> SdkPojo
- Enclosing class:
DeletionProtectionSettings
@Mutable
@NotThreadSafe
public static interface DeletionProtectionSettings.Builder
extends SdkPojo, CopyableBuilder<DeletionProtectionSettings.Builder,DeletionProtectionSettings>
-
Method Summary
Modifier and TypeMethodDescriptionA parameter that indicates if deletion protection is enabled or not.protectionPeriodInMinutes
(Integer protectionPeriodInMinutes) The time interval during which AppConfig monitors for calls to GetLatestConfiguration or for a configuration profile or from an environment.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, sdkFieldNameToField, sdkFields
-
Method Details
-
enabled
A parameter that indicates if deletion protection is enabled or not.
- Parameters:
enabled
- A parameter that indicates if deletion protection is enabled or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectionPeriodInMinutes
The time interval during which AppConfig monitors for calls to GetLatestConfiguration or for a configuration profile or from an environment. AppConfig returns an error if a user calls or for the designated configuration profile or environment. To bypass the error and delete a configuration profile or an environment, specify
BYPASS
for theDeletionProtectionCheck
parameter for either or .- Parameters:
protectionPeriodInMinutes
- The time interval during which AppConfig monitors for calls to GetLatestConfiguration or for a configuration profile or from an environment. AppConfig returns an error if a user calls or for the designated configuration profile or environment. To bypass the error and delete a configuration profile or an environment, specifyBYPASS
for theDeletionProtectionCheck
parameter for either or .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-