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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ApplicationVersionLifecycleConfig.BuildermaxAgeRule(Consumer<MaxAgeRule.Builder> maxAgeRule)Specify a max age rule to restrict the length of time that application versions are retained for an application.ApplicationVersionLifecycleConfig.BuildermaxAgeRule(MaxAgeRule maxAgeRule)Specify a max age rule to restrict the length of time that application versions are retained for an application.default ApplicationVersionLifecycleConfig.BuildermaxCountRule(Consumer<MaxCountRule.Builder> maxCountRule)Specify a max count rule to restrict the number of application versions that are retained for an application.ApplicationVersionLifecycleConfig.BuildermaxCountRule(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
maxCountRule
ApplicationVersionLifecycleConfig.Builder maxCountRule(MaxCountRule 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:
maxCountRule(MaxCountRule)
-
maxAgeRule
ApplicationVersionLifecycleConfig.Builder maxAgeRule(MaxAgeRule 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:
maxAgeRule(MaxAgeRule)
-
-