public static interface ApplicationVersionLifecycleConfig.Builder extends CopyableBuilder<ApplicationVersionLifecycleConfig.Builder,ApplicationVersionLifecycleConfig>
| Modifier and Type | Method and Description |
|---|---|
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.
|
ApplicationVersionLifecycleConfig.Builder |
maxAgeRule(MaxAgeRule maxAgeRule)
Specify a max age rule to restrict the length of time that application versions are retained for an
application.
|
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.
|
ApplicationVersionLifecycleConfig.Builder |
maxCountRule(MaxCountRule maxCountRule)
Specify a max count rule to restrict the number of application versions that are retained for an application.
|
copyapply, buildApplicationVersionLifecycleConfig.Builder maxCountRule(MaxCountRule maxCountRule)
Specify a max count rule to restrict the number of application versions that are retained for an application.
maxCountRule - Specify a max count rule to restrict the number of application versions that are retained for an
application.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 that creates an instance of theMaxCountRule.Builder avoiding the need to
create one manually via MaxCountRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to maxCountRule(MaxCountRule).maxCountRule - a consumer that will call methods on MaxCountRule.BuildermaxCountRule(MaxCountRule)ApplicationVersionLifecycleConfig.Builder maxAgeRule(MaxAgeRule maxAgeRule)
Specify a max age rule to restrict the length of time that application versions are retained for an application.
maxAgeRule - Specify a max age rule to restrict the length of time that application versions are retained for an
application.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 that creates an instance of theMaxAgeRule.Builder avoiding the need to create
one manually via MaxAgeRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to maxAgeRule(MaxAgeRule).maxAgeRule - a consumer that will call methods on MaxAgeRule.BuildermaxAgeRule(MaxAgeRule)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.