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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeletionProtectionSettings.Builderenabled(Boolean enabled)A parameter that indicates if deletion protection is enabled or not.DeletionProtectionSettings.BuilderprotectionPeriodInMinutes(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 Detail
-
enabled
DeletionProtectionSettings.Builder enabled(Boolean 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
DeletionProtectionSettings.Builder protectionPeriodInMinutes(Integer 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.
-
-