Interface Lifecycle.Builder

    • Method Detail

      • moveToColdStorageAfterDays

        Lifecycle.Builder moveToColdStorageAfterDays​(Long moveToColdStorageAfterDays)

        Specifies the number of days after creation that a recovery point is moved to cold storage.

        Parameters:
        moveToColdStorageAfterDays - Specifies the number of days after creation that a recovery point is moved to cold storage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteAfterDays

        Lifecycle.Builder deleteAfterDays​(Long deleteAfterDays)

        Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.

        Parameters:
        deleteAfterDays - Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • optInToArchiveForSupportedResources

        Lifecycle.Builder optInToArchiveForSupportedResources​(Boolean optInToArchiveForSupportedResources)

        Optional Boolean. If this is true, this setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.

        Parameters:
        optInToArchiveForSupportedResources - Optional Boolean. If this is true, this setting will instruct your backup plan to transition supported resources to archive (cold) storage tier in accordance with your lifecycle settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.