Interface DeletionProtectionSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeletionProtectionSettings.Builder,,DeletionProtectionSettings> SdkBuilder<DeletionProtectionSettings.Builder,,DeletionProtectionSettings> SdkPojo
- Enclosing class:
DeletionProtectionSettings
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
BYPASSfor theDeletionProtectionCheckparameter 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, specifyBYPASSfor theDeletionProtectionCheckparameter for either or .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-