Interface LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builder,LifecyclePolicyDetailExclusionRulesAmisLastLaunched>,SdkBuilder<LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builder,LifecyclePolicyDetailExclusionRulesAmisLastLaunched>,SdkPojo
- Enclosing class:
- LifecyclePolicyDetailExclusionRulesAmisLastLaunched
public static interface LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builder extends SdkPojo, CopyableBuilder<LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builder,LifecyclePolicyDetailExclusionRulesAmisLastLaunched>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builderunit(String unit)Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI.LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builderunit(LifecyclePolicyTimeUnit unit)Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI.LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Buildervalue(Integer value)The integer number of units for the time period.-
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, sdkFields
-
-
-
-
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 example6(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
-
unit
LifecyclePolicyDetailExclusionRulesAmisLastLaunched.Builder unit(LifecyclePolicyTimeUnit 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
-
-