Interface ApplicationVersionLifecycleConfig.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ApplicationVersionLifecycleConfig.Builder,,- ApplicationVersionLifecycleConfig> - SdkBuilder<ApplicationVersionLifecycleConfig.Builder,,- ApplicationVersionLifecycleConfig> - SdkPojo
- Enclosing class:
- ApplicationVersionLifecycleConfig
@Mutable
@NotThreadSafe
public static interface ApplicationVersionLifecycleConfig.Builder
extends SdkPojo, CopyableBuilder<ApplicationVersionLifecycleConfig.Builder,ApplicationVersionLifecycleConfig> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
maxCountRuleSpecify 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.
 
- 
maxCountRuledefault 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 on- MaxCountRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
maxAgeRuleSpecify 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.
 
- 
maxAgeRuledefault 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 on- MaxAgeRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-