Interface ApplicationVersionLifecycleConfig.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ApplicationVersionLifecycleConfig.Builder,,ApplicationVersionLifecycleConfig> SdkBuilder<ApplicationVersionLifecycleConfig.Builder,,ApplicationVersionLifecycleConfig> SdkPojo
- Enclosing class:
 ApplicationVersionLifecycleConfig
public static interface ApplicationVersionLifecycleConfig.Builder
extends SdkPojo, CopyableBuilder<ApplicationVersionLifecycleConfig.Builder,ApplicationVersionLifecycleConfig> 
- 
Method Summary
Modifier and TypeMethodDescriptionmaxAgeRule(Consumer<MaxAgeRule.Builder> maxAgeRule) Specify a max age rule to restrict the length of time that application versions are retained for an application.maxAgeRule(MaxAgeRule maxAgeRule) Specify a max age rule to restrict the length of time that application versions are retained for an application.maxCountRule(Consumer<MaxCountRule.Builder> maxCountRule) Specify a max count rule to restrict the number of application versions that are retained for an application.maxCountRule(MaxCountRule maxCountRule) Specify a max count rule to restrict the number of application versions that are retained for an application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
maxCountRule
Specify a max count rule to restrict the number of application versions that are retained for an application.
- Parameters:
 maxCountRule- Specify a max count rule to restrict the number of application versions that are retained for an application.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
maxCountRule
default ApplicationVersionLifecycleConfig.Builder maxCountRule(Consumer<MaxCountRule.Builder> maxCountRule) Specify a max count rule to restrict the number of application versions that are retained for an application.
This is a convenience method that creates an instance of theMaxCountRule.Builderavoiding the need to create one manually viaMaxCountRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaxCountRule(MaxCountRule).- Parameters:
 maxCountRule- a consumer that will call methods onMaxCountRule.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
maxAgeRule
Specify a max age rule to restrict the length of time that application versions are retained for an application.
- Parameters:
 maxAgeRule- Specify a max age rule to restrict the length of time that application versions are retained for an application.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
maxAgeRule
default ApplicationVersionLifecycleConfig.Builder maxAgeRule(Consumer<MaxAgeRule.Builder> maxAgeRule) Specify a max age rule to restrict the length of time that application versions are retained for an application.
This is a convenience method that creates an instance of theMaxAgeRule.Builderavoiding the need to create one manually viaMaxAgeRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaxAgeRule(MaxAgeRule).- Parameters:
 maxAgeRule- a consumer that will call methods onMaxAgeRule.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -