Class DeleteEnvironmentRequest

    • Method Detail

      • environmentId

        public final String environmentId()

        The ID of the environment that you want to delete.

        Returns:
        The ID of the environment that you want to delete.
      • applicationId

        public final String applicationId()

        The application ID that includes the environment that you want to delete.

        Returns:
        The application ID that includes the environment that you want to delete.
      • deletionProtectionCheck

        public final DeletionProtectionCheck deletionProtectionCheck()

        A parameter to configure deletion protection. If enabled, deletion protection prevents a user from deleting an environment if your application called either GetLatestConfiguration or in the environment during the specified interval.

        This parameter supports the following values:

        • BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it.

        • APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. APPLY also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.

        • ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in the UpdateAccountSettings API.

        If the service returns an enum value that is not available in the current SDK version, deletionProtectionCheck will return DeletionProtectionCheck.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from deletionProtectionCheckAsString().

        Returns:
        A parameter to configure deletion protection. If enabled, deletion protection prevents a user from deleting an environment if your application called either GetLatestConfiguration or in the environment during the specified interval.

        This parameter supports the following values:

        • BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it.

        • APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. APPLY also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.

        • ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in the UpdateAccountSettings API.

        See Also:
        DeletionProtectionCheck
      • deletionProtectionCheckAsString

        public final String deletionProtectionCheckAsString()

        A parameter to configure deletion protection. If enabled, deletion protection prevents a user from deleting an environment if your application called either GetLatestConfiguration or in the environment during the specified interval.

        This parameter supports the following values:

        • BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it.

        • APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. APPLY also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.

        • ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in the UpdateAccountSettings API.

        If the service returns an enum value that is not available in the current SDK version, deletionProtectionCheck will return DeletionProtectionCheck.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from deletionProtectionCheckAsString().

        Returns:
        A parameter to configure deletion protection. If enabled, deletion protection prevents a user from deleting an environment if your application called either GetLatestConfiguration or in the environment during the specified interval.

        This parameter supports the following values:

        • BYPASS: Instructs AppConfig to bypass the deletion protection check and delete a configuration profile even if deletion protection would have otherwise prevented it.

        • APPLY: Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. APPLY also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.

        • ACCOUNT_DEFAULT: The default setting, which instructs AppConfig to implement the deletion protection value specified in the UpdateAccountSettings API.

        See Also:
        DeletionProtectionCheck
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object