Interface DeletionProtectionSettings.Builder

    • 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 BYPASS for the DeletionProtectionCheck 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, specify BYPASS for the DeletionProtectionCheck parameter for either or .
        Returns:
        Returns a reference to this object so that method calls can be chained together.