Interface LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builder

    • Method Detail

      • value

        LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builder value​(Integer value)

        The integer number of units for the time period. For example 6 (months).

        Parameters:
        value - The integer number of units for the time period. For example 6 (months).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builder unit​(String unit)

        Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. For example: days, weeks, months, or years.

        Parameters:
        unit - Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. For example: days, weeks, months, or years.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LifecyclePolicyTimeUnit, LifecyclePolicyTimeUnit