Interface MaxCountRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MaxCountRule.Builder,
,MaxCountRule> SdkBuilder<MaxCountRule.Builder,
,MaxCountRule> SdkPojo
- Enclosing class:
MaxCountRule
@Mutable
@NotThreadSafe
public static interface MaxCountRule.Builder
extends SdkPojo, CopyableBuilder<MaxCountRule.Builder,MaxCountRule>
-
Method Summary
Modifier and TypeMethodDescriptiondeleteSourceFromS3
(Boolean deleteSourceFromS3) Set totrue
to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.Specifytrue
to apply the rule, orfalse
to disable it.Specify the maximum number of application versions to retain.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 Details
-
enabled
Specify
true
to apply the rule, orfalse
to disable it.- Parameters:
enabled
- Specifytrue
to apply the rule, orfalse
to disable it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCount
Specify the maximum number of application versions to retain.
- Parameters:
maxCount
- Specify the maximum number of application versions to retain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteSourceFromS3
Set to
true
to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.- Parameters:
deleteSourceFromS3
- Set totrue
to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-